CToolbar.MoveButtonmethod
Moves a button from one index to another.
Syntax
FUNCTION MoveButton (BYVAL hToolbar AS HWND, BYVAL uOldPos AS DWORD, BYVAL uNewPos AS DWORD) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
uOldPos | Zero-based index of the button to be moved. | |
uNewPos | Zero-based index where the button will be moved. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Moves a button from one index to another.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:963
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class