delphi - Show the window shadow when using VCL styles -
is there way show window shadow, per normal windows 7 forms, when using vcl style?
i understand bitmap , settings in style replaces form borders, isn't shadow sort of alpha blend / aero thing outside area affected style?
adding cs_dropshadow windowclass.style seems have no effect.
using cs_dropshadow style works fine
type tmyform = class(tform) protected procedure createparams(var params: tcreateparams); override; end; procedure tmyform.createparams(var params: tcreateparams); begin inherited; params windowclass.style := windowclass.style or cs_dropshadow; end;
Comments
Post a Comment