|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| commctrl.h
| Unicode
| No
| Platform Notes
| None
|
|
|
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
TB_ADDBITMAP
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|