pop-up menu problem, inside splitter, using doc/view
-
Im having problem displaying pop-up menu i only get the beginning of a menu and submenus i did screenshoots of that but i cant post them so i'll use ASCII like this: ╔╗ || || || || ╔--------╗ || |submenu| || ╚--------╝ || || ╚╝ (that vertical rectangle loks like border between splitter windows and between it and the submenu is the exact amount of space as it should be for text "menu 3" to fit) where it should be like this: ╔-------╗ |menu 1| |-------| |menu 2| |-------|╔--------╗ |menu 3>|submenu| |-------|╚--------╝ |menu 4| ╚-------╝ first i load menu in CMenu in OnInitialUpdate(): m_popUpMenu.LoadMenu(IDR_POP_UP_MENU); then i use pop up OnRightclick() m_popUpMenu.TrackPopupMenu(TPM_LEFTALIGN, point.x, point.y, this); any help will do thank you