Draws the status bar panel when the specified LM_DRAWITEMS message is handled for the control.
Source position: comctrls.pp line 160
protected procedure TStatusBar.LMDrawItem( |
var Message: TLMDrawItems |
); message; |
Message |
|
Message with the status bar panel and coordinates drawn in the method. |
LMDrawItem is a method used to handle a TLMDrawItems message received for the status bar control. LMDrawItem retrieves the status bar panel (by item position) and the rectangle where it is drawn from the drawing structure in the Message argument. It ensures that the handle for the control Canvas is set to the device context for the control and calls DrawPanel to render the status bar panel at the required coordinates. The Canvas handle is restored to its original value prior to exit.
|
The Canvas where the Panels for the StatusBar are painted. |
|
|
Signals the OnDrawPanel event handler (when assigned). |
|
|
CT Web help |
CodeTyphon Studio |