TBADDBITMAP
The TBADDBITMAP
structure adds a bitmap that contains button images to a toolbar.
typedef struct {
// tbab
HINSTANCE
hInst;
UINT nID;
} TBADDBITMAP, *LPTBADDBITMAP;
Members
hInst
Handle to the
module instance with the executable file that contains a bitmap resource. You
can add the system-defined button bitmaps to the list by specifying
HINST_COMMCTRL as the hInst member and one of the following values as
the nID member:
Value |
Meaning |
IDB_STD_LARGE_COLOR |
Adds large,
color standard bitmaps. |
IDB_STD_SMALL_COLOR |
Adds small,
color standard bitmaps. |
IDB_VIEW_LARGE_COLOR |
Adds large,
color view bitmaps. |
IDB_VIEW_SMALL_COLOR |
Adds small,
color view bitmaps. |
For more
information about the system-defined standard and view bitmaps, see the
following Remarks section.
nID
Resource
identifier of the bitmap resource that contains the button images. If hInst
is NULL, this parameter must be the handle to a bitmap that contains the button
images.
Remarks
The Windows
header files provide the following values that you use as indexes to the
standard and view bitmaps.
STD_COPY |
STD_PASTE |
STD_CUT |
STD_PRINT |
STD_DELETE |
STD_PRINTPRE |
STD_FILENEW |
STD_PROPERTIES |
STD_FILEOPEN |
STD_REDOW |
STD_FILESAVE |
STD_REPLACE |
STD_FIND |
STD_UNDO |
STD_HELP |
|
VIEW_LARGEICONS |
VIEW_SORTNAME |
VIEW_SMALLICONS |
VIEW_SORTSIZE |
VIEW_LIST |
VIEW_SORTDATE |
VIEW_DETAILS |
VIEW_SORTTYPE |
The TBADDBITMAP
structure is used with the TB_ADDBITMAP message.
See Also