Archived

This topic is now archived and is closed to further replies.

GroZZleR

I've got your handle, but are you active? (Win32)

Recommended Posts

Exactly as the topic says. I''ve got a window via FindWindow, and I''d like to know how I can figure out if that window is currently active and / or has focus. Anyone happen to know? Haven''t been able to find anything on MSDN.

Share this post


Link to post
Share on other sites
Try looking up the windows messages + PeekMessage/GetMessage functions.

I think the one you want is: WM_ACTIVATE

Share this post


Link to post
Share on other sites