Help Center

CToolbar.SetIndentmethod

Sets the indentation for the first button in a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION SetIndent (BYVAL hToolbar AS HWND, BYVAL iIndent AS LONG) AS BOOLEAN

Parameters

NameDescription
hToolbarHandle to the toolbar control.
iIndentValue specifying the indentation, in pixels.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Description

Sets the indentation for the first button in a toolbar control.

Reference

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