TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Phil Crown
date: 1996-07-28 13:44:42
subject: MS_CONDITIONALCASCADE in menus

-=> Quoting Peter Fitzsimmons to Phil Crown <=- 

 PC> How do I create a MS_CONDITIONALCASCADE menuitem?  Like the
"Sort" item
 PC> in folders that has a button that lets you select which type of sort.
 
 PC> Can I add MS_CONDITIONALCASCADE to the .rc file, or do I have to call
 PC> some API?

 PF> I do not know if you can do it from an *.rc file.  I do know that this
 PF> works though:

I found a similar function in cnradv.zip and someone else posted a
similar function here.

I don't think it can be done from an .rc file at all.

 PF> static void SetConditionalCascade( HWND hwndMenu, USHORT idSubMenu,

Thanks.

Phil - Fido:  1:124/8014.0 | Internet:  phil.crown{at}bluecafe.com

--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 124/1208 1 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.