CToolBarCtrl::SetWindowTheme

Sets the visual style of the CToolBarCtrl object.

HRESULT SetWindowTheme( 
   LPCWSTR pszSubAppName 
);

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 Windows SDK.

Header: afxcmn.h

Show: