Sign in Join
FPDoc Onlineexperiment

TWidgetSet.SetFocus function

Member of TWidgetSetpublicIn unit InterfaceBase

Sets the keyboard input focus to the specified window.

Declaration

pascal
function SetFocus(hWnd: HWND): HWND; virtual

Arguments

hWnd

The handle of the window receiving the focus.

Function result

The handle of the previously focused window, zero if none.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.