Vcl.Menus.TPopupList.MainWndProc
Delphi
procedure MainWndProc(var Message: TMessage);
C++
void __fastcall MainWndProc(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TPopupList |
Description
Wraps the WndProc method with an exception-handling layer.
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.