LCLSendActivateMsg function
Delivers a LM_ACTIVATE message to the specified target control.
Declaration
function LCLSendActivateMsg(const Target: TControl; Active: Word;
Minimized: Boolean; ActiveWindow: HWND=0)
: PtrIntArguments
Target | The Control where the LM_ACTIVATE message is delivered. |
Active | Indicates if the control should be active. |
Minimized | True if the control should be minimized. False if the control is not in the minimized state. |
ActiveWindow | Optional handle for the current or newly active window for the control. Default value is 0. |
Function result
Pointer to the integer result code from the delivered message. 0 indicates the message was accepted. A non-zero value indicates the message was rejected.
Description
Calls DeliverMessage to apply or dispatch the message to the target.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
