Редагувати

Поділитися через


Toolbar Standard Button Image Index Values

This section specifies index values of images within standard bitmaps.

Index values for IDB_HIST_LARGE_COLOR and IDB_HIST_SMALL_COLOR:

Constant Description
HIST_ADDTOFAVORITES
Add to favorites.
HIST_BACK
Move back.
HIST_FAVORITES
Open favorites folder.
HIST_FORWARD
Move forward.
HIST_VIEWTREE
View tree.

Index values for IDB_STD_LARGE_COLOR and IDB_STD_SMALL_COLOR:

Constant Description
STD_COPY
Copy operation.
STD_CUT
Cut operation.
STD_DELETE
Delete operation.
STD_FILENEW
New file operation.
STD_FILEOPEN
Open file operation.
STD_FILESAVE
Save file operation.
STD_FIND
Find operation.
STD_HELP
Help operation.
STD_PASTE
Paste operation.
STD_PRINT
Print operation.
STD_PRINTPRE
Print preview operation.
STD_PROPERTIES
Properties operation.
STD_REDOW
Redo operation.
STD_REPLACE
Replace operation.
STD_UNDO
Undo operation.

Index values for IDB_VIEW_LARGE_COLOR and IDB_VIEW_SMALL_COLOR:

Constant Description
VIEW_DETAILS
Details view.
VIEW_LARGEICONS
Large icons view.
VIEW_LIST
List view.
VIEW_NETCONNECT
Connect to network drive.
VIEW_NETDISCONNECT
Disconnect from network drive.
VIEW_NEWFOLDER
New folder.
VIEW_PARENTFOLDER
Go to parent folder.
VIEW_SMALLICONS
Small icon view.
VIEW_SORTDATE
Sort by date.
VIEW_SORTNAME
Sort by name.
VIEW_SORTSIZE
Sort by size.
VIEW_SORTTYPE
Sort by type.

Remarks

You use these values to specify an image index within a standard image list that was loaded with the TB_LOADIMAGES message. The index values correspond to images within the standard bitmaps used by common controls.

Each of the following headings contains an image list of the large icons, an image list of the small icons, and a table that matches the constant of each icon to its index value.

IDB_HIST_LARGE_COLOR and IDB_HIST_SMALL_COLOR:

Screenshot that shows the large HIST icons.

Screenshot that shows the small HIST icons.

Define Value
HIST_BACK 0
HIST_FORWARD 1
HIST_FAVORITES 2
HIST_ADDTOFAVORITES 3
HIST_VIEWTREE 4

IDB_STD_LARGE_COLOR and IDB_STD_SMALL_COLOR:

Screenshot that shows the large S T D icons.

Screenshot that shows the small S T D icons.

Define Value
STD_CUT 0
STD_COPY 1
STD_PASTE 2
STD_UNDO 3
STD_REDOW 4
STD_DELETE 5
STD_FILENEW 6
STD_FILEOPEN 7
STD_FILESAVE 8
STD_PRINTPRE 9
STD_PROPERTIES 10
STD_HELP 11
STD_FIND 12
STD_REPLACE 13
STD_PRINT 14

IDB_VIEW_LARGE_COLOR and IDB_VIEW_SMALL_COLOR:

Screenshot that shows the large VIEW icons.

Screenshot that shows the small VIEW icons.

Define Value
VIEW_LARGEICONS 0
VIEW_SMALLICONS 1
VIEW_LIST 2
VIEW_DETAILS 3
VIEW_SORTNAME 4
VIEW_SORTSIZE 5
VIEW_SORTDATE 6
VIEW_SORTTYPE 7
VIEW_PARENTFOLDER 8
VIEW_NETCONNECT 9
VIEW_NETDISCONNECT 10
VIEW_NEWFOLDER 11

Requirements

Define Value
Header
CommCtrl.h