🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Chris Haynes Thu, 28 Feb 1991 18:05
Re: How to keep submenus from disappearing?
#2428
Author: Chris Haynes
Date: Thu, 28 Feb 1991 18:05
27 lines
1538 bytes
In article <2618@sapwdf.UUCP> you write:
>[I sent this message a month ago but did not receive any replies.  I
>hope this time someone might have more time to reply. Thanks!]
>
>- Currently, after selecting an item in a submenu, the whole submenu
>  disappears at once.  I would like to change this behavior by keeping
>  the submenus visible until taken down programmatically.  Any ideas?

Inorder to keep the submenu from disappearing, you must change the attribute
of the menuitem in you .rc file to MIA_NODISMISS. For example

        SUBMENU "File", ID_FILE
        {
          MENUITEM "New", ID_NEW,,MIA_NODISMISS
          MENUITEM "Open", ID_OPEN,,MIA_NODISMISS
          MENUITEM "Save", ID_SAVE
        }

In this example, when you select 'New' or 'Open' from the File menu it will
not disappear. However, if you select 'Save' it will. Hope this helps.

Chris Haynes
(Chris.Haynes@AtlantaGA.NCR.COM)

Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Keywords: os2, pm, menus
References: <2618@sapwdf.UUCP>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads