• Advertisement

Archived

This topic is now archived and is closed to further replies.

Shell Context Menu

This topic is 5516 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

With the help of some samples (from Codeguru, CodeProject etc..), I''ve written a small DLL to display my own popup inside the Explorer context menu (like WinZip does, for example). My problem is when I click 1 times on the File menu, my Popup appears normaly, but when I click again a new entry is added, and the popup appears 2 times ! etc ... What''s wrong with it ?? I know the problem comes from the QueryContextMenu (which creates the popup) but I can''t find any solution. I tried to delete myself the handle and recreate it, tried InsertMenu and InsertMenuItem (maybe misused?)... Thanks for any help

Share this post


Link to post
Share on other sites
Advertisement
Hmmm, well I didn''t search enough I''ve just found the answer. Indeed, I didn''t use correctly the InsertMenuItem function

Share this post


Link to post
Share on other sites

  • Advertisement