I implement IContextMenu2 and want to populate the menu when its being hovered over. In QueryContextMenu I get the argument idCmdFirst. In HandleMenuMsg2, however, i dont get this argument. Therefore, what do i pass to InsertMenu for the id parameter?
I implement IContextMenu2 and want to populate the menu when its being hovered over.
Share
I basically stored the
idCmdFirstfromQueryContextMenuand used it inHandleMenuMsg2.