dc2000
2007-05-28 06:15:01 UTC
Hi everyone:
I seem to be stuck with a simplest thing. I need to open an XP theme for
TRAYNOTIFY area (i.e. tray notification area where the clock is displayed),
but I seem to always get NULL in return.
Here's the code:
HTHEME hTheme = OpenThemeData(NULL, L"TrayNotify");
if(!hTheme)
{
//Error - I seem to get here, why?
}
The code above works with all general classes, except that one. What am I
doing wrong???
I seem to be stuck with a simplest thing. I need to open an XP theme for
TRAYNOTIFY area (i.e. tray notification area where the clock is displayed),
but I seem to always get NULL in return.
Here's the code:
HTHEME hTheme = OpenThemeData(NULL, L"TrayNotify");
if(!hTheme)
{
//Error - I seem to get here, why?
}
The code above works with all general classes, except that one. What am I
doing wrong???