Jump to content

WinQueryFocus: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 April 2025

  • curprev 16:3216:32, 9 April 2025 Martini talk contribs 899 bytes +899 Created page with "This function returns the focus window. It is NULLHANDLE if there is no focus window. ==Syntax==  WinQueryFocus(hwndDeskTop) ==Parameters== ;hwndDeskTop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ==Returns== ;hwndFocus (HWND) - returns :Focus-handle. :;NULL ::Error occurred or no focus window. ==Errors== Possible returns from WinGetLastError: * PMERR_INVALID_HWND (0x1001)..."