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.

Return Value

The return value is not used.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

Other Resources

CToolBarCtrl Members