Article View: comp.os.os2.programmer
Article #2428Re: How to keep submenus from disappearing?
From: Chris Haynes
Date: Thu, 28 Feb 1991 18:05
Date: Thu, 28 Feb 1991 18:05
27 lines
1538 bytes
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>
Technical Details
Message-ID:
<17363@ncratl.AtlantaGA.NCR.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!ogicse!emory!kong!ncratl!chaynesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!ogicse!emory!kong!ncratl!chaynes From: chaynes@ncratl.AtlantaGA.NCR.COM (Chris Haynes) Newsgroups: comp.os.os2.programmer,comp.os.os2.misc Subject: Re: How to keep submenus from disappearing? Message-ID: <17363@ncratl.AtlantaGA.NCR.COM> Date: 28 Feb 91 18:05:52 GMT Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA Lines: 27 To: be@sap-ag.de In-Reply-To: <2618@sapwdf.UUCP>