Skip to main content
gamedev.net
🔒 Locked

Shell Context Menu

Started by ex4st Jan 18, 2003 at 10:38 PM 0 replies 350+ views
Original Post
ex4st
ex4st
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
ex4st
ex4st
Hmmm, well I didn''t search enough I''ve just found the answer. Indeed, I didn''t use correctly the InsertMenuItem function

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.