Help Center

CToolbar.SetStylemethod

Sets the style for a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

SUB SetStyle (BYVAL hToolbar AS HWND, BYVAL dwStyle AS DWORD)

Parameters

NameDescription
hToolbarHandle to the toolbar control.
dwStyleValue specifying the styles to be set for the control. This value can be a combination of toolbar control styles.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets the style for a toolbar control.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:1266
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class