Possible returns from
WinGetLastError
PMERR_INVALID_HWND (0x1001)
An invalid window handle was specified.
PMERR_CANNOT_SET_FOCUS (0x1037)
Focus cannot be set if a focus change is in progress, or if a system-modal window exists.
[Back]
[Next]