Multiple Selection Menu – Part 2

The previous article showed how tu use a WH_MSGFILTER hook in order to make a menu with multiple selection. Now, let’s see an MFC-extension class that implements a context pop-up menu with multiple selection. CMultiSelPopupMenu class class CMultiSelPopupMenu : public CMenu { // Construction public: CMultiSelPopupMenu(UINT nIDResource, UINT nSubMenu); // Operations public: void MDX_Check(CDataExchange* pDX, WORD wItemID, BOOL& … Read more