Vcl.ComCtrls.THeaderStyleHook

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Themes.TMouseTrackControlStyleHookVcl.Themes.TStyleHookSystem.TObjectTHeaderStyleHook

Delphi

THeaderStyleHook = class(TMouseTrackControlStyleHook)

C++

class PASCALIMPLEMENTATION THeaderStyleHook : 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.THeaderStyleHook 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.


See Also