Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Jun : [D2007] -- TButton and BCM_SETSHIELD

www.cryer.info
Managed Newsgroup Archive

[D2007] -- TButton and BCM_SETSHIELD

Subject:[D2007] -- TButton and BCM_SETSHIELD
Posted by:"Rune Moberg" (nospam@runesbike.com)
Date:Tue, 5 Jun 2007 13:39:21

In short:
Button_SetElevationRequiredState(OKBtn.Handle, True)
returns 0. I would like it to paint the shield and return 1 as the
documentation suggests...

AFAICT Delphi 2007 includes a XP manifest by default (listing version
6.00 of the common controls as one of its requirements). I've also tried
an external .manifest file, and I do get new common controls, but
TButton still doesn't show that darn elevation shield!

--
Rune

Replies:

www.cryer.info
Managed Newsgroup Archive