CToolbar.InsertSeparatormethod
Inserts a separator in a toolbar.
Syntax
FUNCTION InsertSeparator (BYVAL hToolbar AS HWND, BYVAL idxButton AS LONG, BYVAL nWidth AS LONG = 0) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idxButton | Zero-based index of a button. The message inserts the new separator to the left of this button. | |
nWidth | Width of the separator, in pixels |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Inserts a separator in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:295
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class