Vcl.DBCtrls.TDBComboBox.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.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBComboBox

Description

Processes messages received by the combo box.

Vcl.DBCtrls.TDBComboBox.WndProc inherits from Vcl.StdCtrls.TCustomComboBox.WndProc. All content below this line refers to Vcl.StdCtrls.TCustomComboBox.WndProc.

Processes messages received by the combo box.

WndProc is the first method to received Windows messages that are sent to the combo box. Messages sent to the child windows of the combo box (for the edit region and the list portion) go to the EditWndProc or ListWndProc method instead. WndProc handles messages about changes to the system colors defined in the Windows control panel, and closes up the drop-down list when the Enter key or the Escape key is pressed. All other messages are passed to Dispatch for default processing.

See Also