Attach item data to a menu item

This is a work in progress for creating a context menu: CMenu mnuContext; CMenu *pMnuPopup, *pMnuSwap; mnuContext.LoadMenu(IDR_MENU_MWB_SWAP); pMnuPopup = mnuContext.GetSubMenu(0); if (pMnuPopup …