[Overview][Procedures and functions][Index] |
Delivers a LM_SIZE message to the target control.
Source position: lclmessageglue.pas line 41
function LCLSendSizeMsg( |
const Target: TControl; |
Width: Word; |
Height: Word; |
SizeType: LongInt; |
FromInterface: Boolean = True |
):PtrInt; |
Target |
|
Component, control, or class instance where the message is delivered. |
Width |
|
Contains the new width in pixels for the target. |
Height |
|
Contains the new height in pixels for the target. |
SizeType |
|
True if the message was sent from the widgetset to notify the LCL of a size change. False to make the widgetset change the size of the control. Default value is True. |
FromInterface |
|
Indicates whether the sizing message originated in the LCL interface. Default value is True. |
Pointer to the Integer result code for the message. 0 indicates the message was accepted. A non-zero value indicates the message was rejected.
The SizeType argument can contain values from the constants defined in the LCLType unit, like:
Calls DeliverMessage to apply or dispatch the message to the target.
Version 3.2 | Generated 2024-02-25 | Home |