Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show system menu of a hwnd
#3
I used Spy++ to see what messages are sent to a window when you right click its button in the taskbar. The window then receives an undocumented and undefined message 0x313. And it really works.

Code:
Copy      Help
int hwnd=win("" "SciCalc" "Calc")
POINT p; xm p
SendMessage hwnd 0x313 0 p.y<<16|p.x


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)