RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.WndProc Method

Provides specific message responses for the toolbar.

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

WndProc overrides the WndProc for TWinControl to handle mouse messages, and sends all others to the inherited WndProc. 

Derived classes that override WndProc to provide specialized responses to messages should call the inherited WndProc at the end to dispatch any other messages. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!