CToolbar.DeleteButtonmethod
Deletes a button from the toolbar.
Syntax
FUNCTION DeleteButton (BYVAL hToolbar AS HWND, BYVAL nButton AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
nButton | Zero-based index of the button to delete. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Deletes a button from the toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:388
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class