Hello,
how can i change the height?
(The blue color height is to small by default?!)

Source: http://www.cplusplus.com/forum/windows/106004/
HMENU hPopupMenu = CreatePopupMenu();
HMENU hSubMenuGame = CreatePopupMenu(); // Create submenu for Game
HMENU hSubMenuPlay = CreatePopupMenu(); // submenu for 'play'
// Add items to submenus
InsertMenu(hSubMenuPlay, 0, MF_BYPOSITION | MF_STRING, 1, _T("Start"));
InsertMenu(hSubMenuPlay, 0, MF_BYPOSITION | MF_STRING, 2, _T("Stop"));
InsertMenu(hSubMenuGame, 0, MF_BYPOSITION | MF_STRING, 3, _T("Start"));
InsertMenu(hSubMenuGame, 0, MF_BYPOSITION | MF_STRING, 4, _T("Stop"));
//Append submenu 'play' to popup menu
AppendMenu(hPopupMenu, MF_POPUP | MF_STRING, (UINT)hSubMenuGame, _T("Game"));
//Append menu item 'exit'
AppendMenu(hPopupMenu, MF_BYPOSITION | MF_STRING, 1245, _T("Exit"));
// Append submenu 'play'
AppendMenu(hPopupMenu, MF_POPUP | MF_STRING, (UINT)hSubMenuGame, _T("Play"));
SetForegroundWindow(hWnd);
TrackPopupMenu(hPopupMenu, TPM_BOTTOMALIGN | TPM_LEFTALIGN, 0, 0, 0, hWnd, NULL);
DestroyMenu(hPopupMenu);



