Vcl.ComCtrls.TToolBarStyleHook
Delphi
TToolBarStyleHook = class(TMouseTrackControlStyleHook)
C++
class PASCALIMPLEMENTATION TToolBarStyleHook : public Vcl::Themes::TMouseTrackControlStyleHook
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
Control message handler.
Vcl.ComCtrls.TToolBarStyleHook inherits from Vcl.Themes.TStyleHook. All content below this line refers to Vcl.Themes.TStyleHook.
Control message handler.
TStyleHook is a class that handles messages for controls.
If you have a custom control that you want to be style enabled, inherit from TStyleHook and provide custom processing for that control. As examples, see TEditStyleHook, TComboBoxStyleHook.
You need to register the style hook class with the style engine, using the RegisterStyleHook method.