|
-
April 19th, 1999, 03:49 PM
#1
Context menu using QueryContextMenu()
Hello-
I'm using QueryContextMenu() to create a menu item (in the
Shell) which contains a sub (popup) menu.
Right-click context menu works correctly.
Under Explorer 'File' menu, it displays and executes just
fine (the first time), but on subsequent selections of
'File', old instances of my menu item (sans popup) are
re-displayed.
Each time I select 'File', the old menu items are displayed
in the menu. Thus, if I've selected 'File' 3 times, my menu
item is displayed properly but there are 2 other 'old' items
further down the menu (after 'New').
I am deleting the sub-menu in the shell object destructor. I'm obviously not creating/initializing something correctly, but what?
Any ideas would be greatly appreciated. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|