Using SetWindowTheme with CCustomDraw

"dmagn25" <dmagn25-/[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
Hi,

I've created a listview and used setwindowtheme to make it look like explorer's, using SetWindowTheme(hwnd, L"Explorer", NULL);

Than I needed some extra modification to the way the data is displayed so I've started to custom draw the control (using CCustomdraw). In result the explorer theme is gone... 

Is there anyway to use the theme with custom draw? (i'm only drawing 
the text and icons, I want the background/selection colors to be the same as in explorer's theme) - or am I doing something totally wrong?

thanks=




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.