A version of this page is also available for
This function returns the handle to the foreground window — the window with which the user is currently working.
The handle to the foreground window indicates success.
|Windows Embedded CE||Windows CE 1.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|