- May
- 382
- 2
I apologize in advance for my lack of understanding of what I'm going to ask. I'm venturing in a new area for me.
I neet to make a batch file block until its console receives a WM_WINDOWPOSCHANGING notification from a windows application. Is this possible, and how?
I should provide that application with the handle of the destination window. Am I correct in guessing that the destination window is my console window of class ConsoleWindowClass?
How can I get that handle? One solution which needs the sysutils plugin is below, but perhaps something simpler is available in TCC 9.02?
TIA
I neet to make a batch file block until its console receives a WM_WINDOWPOSCHANGING notification from a windows application. Is this possible, and how?
I should provide that application with the handle of the destination window. Am I correct in guessing that the destination window is my console window of class ConsoleWindowClass?
How can I get that handle? One solution which needs the sysutils plugin is below, but perhaps something simpler is available in TCC 9.02?
Code:
[%@execstr[whichwin /c ConsoleWindowClass /v /p %_pid /F h]
TIA