8
votes
Vote UpVote

Exploring Delphi XE2 – VCL Styles Part II

The Road to Delphi – The TStyleHook Class The VCL Styles uses the TStyleHook class to intercept the paint methods and the Windows messages related to the Vcl Styles operations, If you have a custom control or need change the way how a control like a TEdit, TMemo, TListView, etc.  is painted you must create a new Style hook class inheriting from TStyleHook or using a existing  like TEditStyleHook, TComboBoxStyleHook, TMemoStyleHook ans so on .  After of creating your own hook you need to register your new style hook class using the RegisterStyleHook method. Also you can unregister a register style hook using the ...
Favorite? Off-Topic? Rodrigo @ 2011-12-17 04:29

Statistics

Visits: 957
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Daniele Teti
Federico
Felix Colibri
Paul Thornton
Primoz Gabrijelcic
Ravaut123
stukelly
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)