This is how to do it
HMENU hmenu = GetSystemMenu(testItem->hWnd, FALSE);
if (hmenu) {
POINT pt;
GetCursorPos(&pt);
int cmd = TrackPopupMenu(hmenu,...
Type: Posts; User: silverAG
This is how to do it
HMENU hmenu = GetSystemMenu(testItem->hWnd, FALSE);
if (hmenu) {
POINT pt;
GetCursorPos(&pt);
int cmd = TrackPopupMenu(hmenu,...
I am trying to make a system menu display from another application at the current position of cursor.(though currently I can not get it to display at all)
Exactly the same as when you right click...