Keeping Menu Open
-
I am using TrackPopupMenu to display a dropdown menu from a toolbar button that has an arrow on the right side. Things are working as I expect. The menu is basically a list of items that my user checks on/off. Someone in the office has seen an application where you can click an item in a menu and the menu stays open so the user can "select" multiple menu items and then click off of the menu to close it...they now want this in my app. Any ideas on how to keep the menu from closing after someone makes a selection? thanks in advance cje
-
I am using TrackPopupMenu to display a dropdown menu from a toolbar button that has an arrow on the right side. Things are working as I expect. The menu is basically a list of items that my user checks on/off. Someone in the office has seen an application where you can click an item in a menu and the menu stays open so the user can "select" multiple menu items and then click off of the menu to close it...they now want this in my app. Any ideas on how to keep the menu from closing after someone makes a selection? thanks in advance cje
You could try setting a WH_GETMESSAGE hook using SetWindowsHookEx() and intercept WM_LBUTTONDOWN ? Bikram Singh