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!
In reply to Re: Manually Select a Windows Window
by LanX
in thread Manually Select a Windows Window
by rd48sec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |