RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomComboBox.WndProc Method

Processes messages received by the combo box.

Pascal
procedure WndProc(var Message: TMessage); override;
C++
virtual __fastcall WndProc(TMessage Message);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!