Hi ! I've code a small program that get a window's handle on my computer, using KeyboardHook ( Actual it's the same as plugin "Windows Jungger" of Ollydebug !). But some problem occurr:
- When my program's dialog isn't ForcegroundWindow, it lose the message that I defined and posted in KeyboardProc, so it doesn't catch and display any window's handle. But this didn't happen in talked above plugin and in the Izelion tutorial 24 !
-And for disabled windows, how to catch them ?
-Sometime my program can't catch static text, or edit control's text ? (I'm using WindowFromPoint, and GetWindowText API )
Hope soon get your help ! Thanks !