Vcl.Controls.TDragObject.MainWndProc
Delphi
procedure MainWndProc(var Message: TMessage);
C++
void __fastcall MainWndProc(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragObject |
Description
Receives Windows messages for the drag object.
MainWndProc wraps the WndProc method with an exception-handling layer.
Do not use the protected MainWndProc method. It is used internally. To subclass the window procedure that handles messages sent to drag objects, override the WndProc method instead.