This documentation is archived and is not being maintained.

CToolBarCtrl::SetWindowTheme 

Sets the visual style of the CToolBarCtrl object.


HRESULT SetWindowTheme(
   LPCWSTR pszSubAppName
);

Parameters

pszSubAppName

A pointer to a Unicode string that contains the toolbar visual style to set.

The return value is not used.

This member function emulates the functionality of the TB_SETWINDOWTHEME message, as described in the Platform SDK.

Show: