Vcl.Controls.TDragObject.WndProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WndProc(var Msg: TMessage); virtual;

C++

virtual void __fastcall WndProc(Winapi::Messages::TMessage &Msg);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragObject

Description

Processes messages received by the drag object.

WndProc is the first method to receive Windows messages that are sent to the drag object. WndProc handles messages about mouse and keyboard events.

When overriding WndProc to provide specialized responses to messages, be sure to call the inherited WndProc at the end, in order to dispatch any unhandled messages.

See Also