CToolbar.ReplaceBitmapmethod
Replaces an existing bitmap with a new bitmap.
Syntax
FUNCTION ReplaceBitmap (BYVAL hToolbar AS HWND, BYVAL ptbrb AS TBREPLACEBITMAP PTR) AS BOOLEAN
FUNCTION ReplaceBitmap (BYVAL hToolbar AS HWND, BYREF tbrb AS TBREPLACEBITMAP) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
ptbrb | Pointer to a TBREPLACEBITMAP structure that contains the information of the bitmap to be replaced and the new bitmap. | |
tbrb | A TBREPLACEBITMAP structure that contains the information of the bitmap to be replaced and the new bitmap. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Replaces an existing bitmap with a new bitmap.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:992
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class