Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
tera t
|
May 22, 2007 - 4:16 AM
|
Hello
I want to do Window itself transparently
Which is the sample which I want to use DWM for? Will even Windows XP be usable?
I wait for an answer.
|
|
Technical Support
|
May 22, 2007 - 7:37 AM
|
There is a CExtDWM class that provides an easy-to-use wrapper around the Vista DWM API. Mainly it is used internally by some of Prof-UIS components including the Ribbon control but you can use it in your code too.
Here is how you can check if the OS is Vista and DWM is enabled: if( g_PaintManager.m_bIsWinVistaOrLater
&& g_PaintManager.m_DWM.IsCompositionEnabled()
)
{
. . .
} You can read more about using DWM in the MSDN. Please note Windows XP does not support DWM API.
|
|