#56 Multiple Themes

wont-fix
None
5
2014-02-23
2006-05-13
Anonymous
No

The CTheme and CThemeImpl support only a single
m_hTheme at a time, but if you want to build a
complex custom control then probably you'll use
multiple themes. So I suggest two new classes:
template <int Num>
class CMultipleTheme
{
HTHEME m_hTheme[Num];
}

and a similar CMultipleThemeImpl

Clearly many methods of CMultipleTheme would require
as the first parameter the number of the themepart.

--- bye

Discussion

    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> wont-fix
    • Group: --> Next Release (example)
     
  • I don't think that you can apply more than one theme to a window (using SetWindowTheme()). You can, however, request multiple themes in OpenThemeData().