PDA

View Full Version : Method 4 getting a handle


NikDH
08-30-2001, 07:13 AM
Hi to all
i was looking 4 a method to get the handle of the editbox which last recived text from the keyboard

With GetForegroundWindow() i can only get the parent window with focus but i wanna which of the windows inside this one was recciving text from keyboard

Tnx in advance

See ya
NikDH

Kayaker
08-31-2001, 02:01 AM
Hi,

How about GetFocus? - retrieves the handle of the window that has the keyboard focus, if the window is associated with the calling thread's message queue.

Kayaker