Vcl.StdCtrls.TCustomListBox.WndProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WndProc(var Message: TMessage); override;

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

Handles Windows messages.

WndProc overrides the inherited WndProc to provide specialized responses to messages that allows the list box to handle auto drag mode itself. Then it calls the inherited WndProc to handle all other messages.

When overriding the WndProc method, be sure to call the inherited WndProc at the end to dispatch any other messages.

See Also

Code Examples