Vcl.StdCtrls.TButtonStyleHook
Delphi
TButtonStyleHook = class(TMouseTrackControlStyleHook)
C++
class PASCALIMPLEMENTATION TButtonStyleHook : public Vcl::Themes::TMouseTrackControlStyleHook
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | Vcl.StdCtrls |
Description
TButtonStyleHook is a delegate class that handles messages for styled buttons.
This API is used automatically when the control style is active. TButtonStyleHook gives a styled look and provides custom processing for this styled control.
TButtonStyleHook is registered by TButton class with the style engine, using the RegisterStyleHook method.