in reply to Manually Select a Windows Window
HWND GetFocus(hwnd) *AHWND GetActiveWindow(hwnd) *AHWND GetForegroundWindow() *
Did you try?
Of course you should check if the result belongs to the set of NotePad windows.
Untested!
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|