Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Return to classic form style

www.cryer.info
Managed Newsgroup Archive

Return to classic form style

Subject:Return to classic form style
Posted by:"Romain TOUTAIN" (romain.touta..@free.fr)
Date:Fri, 10 Nov 2006 15:39:27

Hello,

I actually have to change a program so it only use "Windows classic
style" and not the "Windows XP style" when the OS is configured in XP
mode beause of the layout of the program (scrollbars appears in many
forms when in XP mode).
How can i do it without changing configuration for the whole OS ?

I tryed to use uxTheme and setTheme(MainFOrm.Handle, "", "");.
It changes the style (borders are rectangular and not smoothed) but font
doesn't return to classic style, so scrollbars still here and many forms
are disorganized (i cannot change layout).

Regards,

Romain TOUTAIN
r.toutain@titelive.com

Replies:

www.cryer.info
Managed Newsgroup Archive