|
SendMessageT((HWND)hRightView, WM_RBUTTONDOWN, MK_RBUTTON, (LPARAM)(MAKELPARAM(p.x, p.y)));
SendMessageT((HWND)hRightView, WM_RBUTTONUP, MK_RBUTTON, (LPARAM)(MAKELPARAM(p.x, p.y)));
I just did this, but now I don’t know how to send commands to the menu, I don’t seem to use wm_command. Does anyone have any good solutions |
|