CToolbar.SetIndentmethod
Sets the indentation for the first button in a toolbar control.
Syntax
FUNCTION SetIndent (BYVAL hToolbar AS HWND, BYVAL iIndent AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
iIndent | Value 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