I´m familiar with many Windows topics and programming concepts,
but XP Visual Styles is new to me.
Normally reading SDK Documentation for a new topic supplies enough
information to get along with - not in this case. I don´t fully
understand the concept and necessary steps.
Ok, you have to specify a manifest for Common Controls to work with
Visual Styles. There is a set of api functions managing Visual Styles
(e.g. SetWndowTheme) but i couldn´t figure out, how to get this
really working.
For a start i tried several working DDT and SDK applications with various
common controls (nothing special in there like ownerdraw or customdraw)
but wasn´t successful at all.
Is there a generic way to implement Visual Styles for the whole app
or do i have to specify it for each and every window (or class) used
in my app. ? How to switch between different styles ? What about
ownerdrawn and customdrawn controls ?
My final goal is to adapt the visual style of an extension, i developped
for my personal use, for an existing commercial app using visual styles.
Maybe someone out there knows the answers or can supply hints or
sample code in Basic or C.
Thanks in advance
Guenther
but XP Visual Styles is new to me.
Normally reading SDK Documentation for a new topic supplies enough
information to get along with - not in this case. I don´t fully
understand the concept and necessary steps.
Ok, you have to specify a manifest for Common Controls to work with
Visual Styles. There is a set of api functions managing Visual Styles
(e.g. SetWndowTheme) but i couldn´t figure out, how to get this
really working.
For a start i tried several working DDT and SDK applications with various
common controls (nothing special in there like ownerdraw or customdraw)
but wasn´t successful at all.
Is there a generic way to implement Visual Styles for the whole app
or do i have to specify it for each and every window (or class) used
in my app. ? How to switch between different styles ? What about
ownerdrawn and customdrawn controls ?
My final goal is to adapt the visual style of an extension, i developped
for my personal use, for an existing commercial app using visual styles.
Maybe someone out there knows the answers or can supply hints or
sample code in Basic or C.
Thanks in advance
Guenther
Comment