Context Menu on Context Menu
-
My app is COM using WTL. On the main menu, we have a Reports pulldown menu. On the Reports options, there are right arrows indicating another pulldown menu. For other dialogs, we have buttons on the bottom (standard OK, Apply, Cancel), including a Reports button. They tried to implement it so that a context menu appears upon pushing the Reports button, but they had no luck. Right now that bottom button just brings up another dialog displaying options. Has anyone done this kind of stuff before? Please help if you can ;) Thanks, Lilian
-
My app is COM using WTL. On the main menu, we have a Reports pulldown menu. On the Reports options, there are right arrows indicating another pulldown menu. For other dialogs, we have buttons on the bottom (standard OK, Apply, Cancel), including a Reports button. They tried to implement it so that a context menu appears upon pushing the Reports button, but they had no luck. Right now that bottom button just brings up another dialog displaying options. Has anyone done this kind of stuff before? Please help if you can ;) Thanks, Lilian
That's simple, check out the Buttons section at this site for menu button samples. It just involves handling the WM_COMMAND message and calling TrackPopupMenu(). --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies." -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.