Board index » cppbuilder » Manifest support

Manifest support


2004-02-19 05:48:13 PM
cppbuilder65
One would think that since DrawFrameControl is a win api that it
would support xp manifest but it does not. Is there a way to
force it to do so? If not, how does one include xp manifest
support into a component?
~ JD
 
 

Re:Manifest support

You might have a look at
clk.about.com/
%2FThemeManager.php
"JD" < XXXX@XXXXX.COM >schrieb im Newsbeitrag
Quote

One would think that since DrawFrameControl is a win api that it
would support xp manifest but it does not. Is there a way to
force it to do so? If not, how does one include xp manifest
support into a component?

~ JD

 

Re:Manifest support

"JD" < XXXX@XXXXX.COM >wrote in message
Quote
One would think that since DrawFrameControl is a win api
that it would support xp manifest but it does not. Is there a way
to force it to do so? If not, how does one include xp manifest
support into a component?
XP does not use DrawFrameControl() when themes are enabled. Theming uses
its own completely separate drawing API instead, known as the UxTheme API.
If you are writing your own custom-drawn control, then you must manually
determing whether 1) XP is even present to begin with, and 2) whether Themes
are currently enabled or not. If both are true, then you need to call the
UxTheme API functions instead.
Have a look at thefollowing articles for more information:
Using Windows XP Visual Styles
msdn.microsoft.com/library/en-us/shellcc/platform/commctls/userex/cookbook.asp
Visual Styles Reference
msdn.microsoft.com/library/en-us/shellcc/platform/commctls/userex/refentry.asp
Gambit
 

{smallsort}

Re:Manifest support

"David Scheffel [Novaris Software]" < XXXX@XXXXX.COM >wrote in
message news:4034cd7c$ XXXX@XXXXX.COM ...
Quote
You might have a look at

clk.about.com/
%2FThemeManager.php
Use this URL instead:
www.delphi-gems.com/ThemeManager.php
Gambit