API:Vcl.Taskbar.TTaskbar.OnWindowPreviewItemRequest
Delphi
property OnWindowPreviewItemRequest: TWindowPreviewItemRequestEvent read FOnWindowPreviewItemRequest write FOnWindowPreviewItemRequest;
C++
__property OnWindowPreviewItemRequest;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.Taskbar.pas Vcl.Taskbar.hpp |
Vcl.Taskbar | TTaskbar |
Description
Occurs when the system requires the window preview of a thumb preview of the Windows task bar.
Vcl.Taskbar.TTaskbar.OnWindowPreviewItemRequest inherits from Vcl.Taskbar.TCustomTaskbar.OnWindowPreviewItemRequest. All content below this line refers to Vcl.Taskbar.TCustomTaskbar.OnWindowPreviewItemRequest.
Occurs when the system requires the window preview of a thumb preview of the Windows task bar.
- Note: This event can be triggered when the customized preview property is set to
True
.
This event provides the following arguments to its event handler:
Sender
is the TObject that requires the window preview.Position
is an offset value to render the window preview in the screen.PreviewBitmap
is the graphical image that contains the window preview.