Vcl.Controls.TDragObject.MainWndProc

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also