Vcl.Themes.TStyleHook
Delphi
TStyleHook = class
C++
class PASCALIMPLEMENTATION TStyleHook : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | Vcl.Themes |
Description
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.