6
votes
Vote UpVote

Disabling the VCL Styles in the non client area of a Form

The Road to Delphi – Today I receive a question about how disable the vcl styles in the non client area of a vcl form. Well that can be done using a Style hook. Tipically a VCL form with a vcl style look like this To remove the vcl style in the non client are we need create a style hook which descend of the TMouseTrackControlStyleHook and then override the PaintBackground and Create methods. Check this sample code TFormStyleHookNC= class(TMouseTrackControlStyleHook) protected procedure PaintBackground(Canvas: TCanvas); override; constructor Create(AControl: TWinControl); override; end; ...
Favorite? Off-Topic? Rodrigo @ 2012-02-07 20:45

Statistics

Visits: 678
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
François
skamradt
stukelly
TOndrej
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)