RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupList.MainWndProc Method

Wraps the WndProc method with an exception-handling layer.

Pascal
procedure MainWndProc(var Message: TMessage);
C++
__fastcall MainWndProc(TMessage Message);

Do not use the protected MainWndProc method. It is used internally when creating the hidden window that responds to popup menu messages. To subclass the window procedure that handles messages sent to popup menus, override the WndProc method instead. 

 

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