Use the GetForegroundWindow function from the the Windows API.
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |