Help Center

CToolbar.GetBitmapFlagsmethod

Retrieves the flags that describe the type of bitmap to be used.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetBitmapFlags (BYVAL hToolbar AS HWND) AS DWORD

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Return value

Returns a DWORD value that describes the type of bitmap that should be used. If this return value has the TBBF_LARGE flag set, applications should use large bitmaps (24 x 24); otherwise, applications should use small bitmaps (16 x 16). All other bits are reserved.

Description

Retrieves the flags that describe the type of bitmap to be used.

Remarks

The value returned by TB_GETBITMAPFLAGS is only advisory. The toolbar control recommends large or small bitmaps based upon whether the user has chosen large or small fonts.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:436
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class