SETFOCUSWindows API Call in RapidQ2.INCWindows

A famous WinAPI call that sets the keyboard output to the specified control/component. The window must be associated with the calling program messages. This is a keyword in RAPIDQ2.INC

Syntax: SETFOCUS(hWnd)
SETFOCUS (Button.Handle)

Details:
You can find out which control is currently getting the focus with GETFOCUS.