Pls help me out, i made a right click popup menu. It did appear but appeared as a tiny winy narrow popup, i can't see the words but i could click it. Is there any ways to enlarge it ? theres another thread abt this but its in MFC - http://cboard.cprogramming.com/showt...ght=popup+menu is there a solution for win32 api ? My codes r as follows.
hmenu = LoadMenu(hinst,MAKEINTRESOURCE(IDM_RCLICK));
// i tried adding hmenu = GetSubMenu() and the popup couldn't even work or show !
mouse.x = LOWORD(lParam);
mouse.y = HIWORD(lParam);
TrackPopupMenu(hmenu,TPM_LEFTALIGN | TPM_RIGHTBUTTON,mouse.x,mouse.y,0,hwnd,NULL);
IDM_RCLICK MENU DISCARDABLE
MENUITEM "&Open", IDM_OPEN
MENUITEM "&Delete", IDM_DELETE
MENUITEM "&Rename", IDM_RENAME
MENUITEM "&Properties", IDM_PROPERTIES