ReactOS 0.4.15-dev-7906-g1b85a5f
toolsband.cpp File Reference
#include "precomp.h"
Include dependency graph for toolsband.cpp:

Go to the source code of this file.

Classes

class  CToolsBand
 

Enumerations

enum  StandardToolbarButtons {
  BtnIdx_Back = 0 , BtnIdx_Forward , BtnIdx_Up , BtnIdx_Search ,
  BtnIdx_Folders , BtnIdx_MoveTo , BtnIdx_CopyTo , BtnIdx_Delete ,
  BtnIdx_Undo , BtnIdx_Views , BtnIdx_Stop , BtnIdx_Refresh ,
  BtnIdx_Home , BtnIdx_MapDrive , BtnIdx_Disconnect , BtnIdx_Favorites ,
  BtnIdx_History , BtnIdx_FullScreen , BtnIdx_Properties , BtnIdx_Cut ,
  BtnIdx_Copy , BtnIdx_Paste , BtnIdx_FolderOptions
}
 

Functions

HRESULT CToolsBand_CreateInstance (REFIID riid, void **ppv)
 

Variables

static const int backImageIndex = 0
 
static const int forwardImageIndex = 1
 
static const int favoritesImageIndex = 2
 
static const int cutImageIndex = 5
 
static const int copyImageIndex = 6
 
static const int pasteImageIndex = 7
 
static const int undoImageIndex = 8
 
static const int deleteImageIndex = 10
 
static const int propertiesImageIndex = 15
 
static const int searchImageIndex = 17
 
static const int viewsImageIndex = 22
 
static const int upImageIndex = 28
 
static const int mapDriveImageIndex = 29
 
static const int disconnectImageIndex = 30
 
static const int foldersImageIndex = 43
 
static const int moveToImageIndex = 44
 
static const int copyToImageIndex = 45
 
static const int folderOptionsImageIndex = 46
 
const int numShownButtons = 13
 
const int numHiddenButtons = 13
 
TBBUTTON tbButtonsAdd [numShownButtons+numHiddenButtons]
 

Enumeration Type Documentation

◆ StandardToolbarButtons

Enumerator
BtnIdx_Back 
BtnIdx_Forward 
BtnIdx_Up 
BtnIdx_Search 
BtnIdx_Folders 
BtnIdx_MoveTo 
BtnIdx_CopyTo 
BtnIdx_Delete 
BtnIdx_Undo 
BtnIdx_Views 
BtnIdx_Stop 
BtnIdx_Refresh 
BtnIdx_Home 
BtnIdx_MapDrive 
BtnIdx_Disconnect 
BtnIdx_Favorites 
BtnIdx_History 
BtnIdx_FullScreen 
BtnIdx_Properties 
BtnIdx_Cut 
BtnIdx_Copy 
BtnIdx_Paste 
BtnIdx_FolderOptions 

Definition at line 199 of file toolsband.cpp.

199 {
200 BtnIdx_Back = 0,
202 BtnIdx_Up,
223};
@ BtnIdx_Stop
Definition: toolsband.cpp:210
@ BtnIdx_Back
Definition: toolsband.cpp:200
@ BtnIdx_Search
Definition: toolsband.cpp:203
@ BtnIdx_Properties
Definition: toolsband.cpp:218
@ BtnIdx_FolderOptions
Definition: toolsband.cpp:222
@ BtnIdx_History
Definition: toolsband.cpp:216
@ BtnIdx_Favorites
Definition: toolsband.cpp:215
@ BtnIdx_Up
Definition: toolsband.cpp:202
@ BtnIdx_Cut
Definition: toolsband.cpp:219
@ BtnIdx_Paste
Definition: toolsband.cpp:221
@ BtnIdx_Disconnect
Definition: toolsband.cpp:214
@ BtnIdx_Views
Definition: toolsband.cpp:209
@ BtnIdx_Delete
Definition: toolsband.cpp:207
@ BtnIdx_Home
Definition: toolsband.cpp:212
@ BtnIdx_Forward
Definition: toolsband.cpp:201
@ BtnIdx_CopyTo
Definition: toolsband.cpp:206
@ BtnIdx_Refresh
Definition: toolsband.cpp:211
@ BtnIdx_Undo
Definition: toolsband.cpp:208
@ BtnIdx_FullScreen
Definition: toolsband.cpp:217
@ BtnIdx_Folders
Definition: toolsband.cpp:204
@ BtnIdx_Copy
Definition: toolsband.cpp:220
@ BtnIdx_MoveTo
Definition: toolsband.cpp:205
@ BtnIdx_MapDrive
Definition: toolsband.cpp:213

Function Documentation

◆ CToolsBand_CreateInstance()

HRESULT CToolsBand_CreateInstance ( REFIID  riid,
void **  ppv 
)

Definition at line 419 of file toolsband.cpp.

420{
421 return ShellObjectCreator<CToolsBand>(riid, ppv);
422}
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39

Referenced by CInternetToolbar::InitNew().

Variable Documentation

◆ backImageIndex

const int backImageIndex = 0
static

Definition at line 151 of file toolsband.cpp.

◆ copyImageIndex

const int copyImageIndex = 6
static

Definition at line 157 of file toolsband.cpp.

◆ copyToImageIndex

const int copyToImageIndex = 45
static

Definition at line 196 of file toolsband.cpp.

◆ cutImageIndex

const int cutImageIndex = 5
static

Definition at line 156 of file toolsband.cpp.

◆ deleteImageIndex

const int deleteImageIndex = 10
static

Definition at line 161 of file toolsband.cpp.

◆ disconnectImageIndex

const int disconnectImageIndex = 30
static

Definition at line 181 of file toolsband.cpp.

◆ favoritesImageIndex

const int favoritesImageIndex = 2
static

Definition at line 153 of file toolsband.cpp.

◆ folderOptionsImageIndex

const int folderOptionsImageIndex = 46
static

Definition at line 197 of file toolsband.cpp.

◆ foldersImageIndex

const int foldersImageIndex = 43
static

Definition at line 194 of file toolsband.cpp.

◆ forwardImageIndex

const int forwardImageIndex = 1
static

Definition at line 152 of file toolsband.cpp.

◆ mapDriveImageIndex

const int mapDriveImageIndex = 29
static

Definition at line 180 of file toolsband.cpp.

◆ moveToImageIndex

const int moveToImageIndex = 44
static

Definition at line 195 of file toolsband.cpp.

◆ numHiddenButtons

const int numHiddenButtons = 13

Definition at line 226 of file toolsband.cpp.

Referenced by CToolsBand::OnGetButtonInfo().

◆ numShownButtons

const int numShownButtons = 13

Definition at line 225 of file toolsband.cpp.

Referenced by CToolsBand::OnGetButtonInfo(), and CToolsBand::SetSite().

◆ pasteImageIndex

const int pasteImageIndex = 7
static

Definition at line 158 of file toolsband.cpp.

◆ propertiesImageIndex

const int propertiesImageIndex = 15
static

Definition at line 166 of file toolsband.cpp.

◆ searchImageIndex

const int searchImageIndex = 17
static

Definition at line 168 of file toolsband.cpp.

◆ tbButtonsAdd

Initial value:
=
{
}
#define IDM_TOOLS_DISCONNECTNETWORKDRIVE
Definition: resource.h:54
#define IDM_TOOLS_FOLDEROPTIONS
Definition: resource.h:56
#define IDM_GOTO_UPONELEVEL
Definition: resource.h:47
#define IDM_VIEW_REFRESH
Definition: resource.h:49
#define IDM_GOTO_FORWARD
Definition: resource.h:46
#define IDM_TOOLS_MAPNETWORKDRIVE
Definition: resource.h:53
#define IDM_GOTO_BACK
Definition: resource.h:45
static const int gFullScreenCommandID
static const int gHistoryCommandID
static const int gFoldersCommandID
static const int gDeleteCommandID
static const int gPropertiesCommandID
static const int gMoveToCommandID
static const int gCopyToCommandID
static const int gCutCommandID
static const int gUndoCommandID
static const int gViewsCommandID
static const int gCopyCommandID
static const int gSearchCommandID
static const int gHomeCommandID
static const int gStopCommandID
static const int gFavoritesCommandID
static const int gPasteCommandID
#define BTNS_BUTTON
Definition: commctrl.h:998
#define BTNS_SHOWTEXT
Definition: commctrl.h:1006
#define BTNS_SEP
Definition: commctrl.h:999
#define TBSTATE_ENABLED
Definition: commctrl.h:974
#define BTNS_DROPDOWN
Definition: commctrl.h:1003
#define BTNS_WHOLEDROPDOWN
Definition: commctrl.h:1007
static const int viewsImageIndex
Definition: toolsband.cpp:173
static const int copyImageIndex
Definition: toolsband.cpp:157
static const int upImageIndex
Definition: toolsband.cpp:179
static const int favoritesImageIndex
Definition: toolsband.cpp:153
static const int forwardImageIndex
Definition: toolsband.cpp:152
static const int pasteImageIndex
Definition: toolsband.cpp:158
static const int disconnectImageIndex
Definition: toolsband.cpp:181
static const int cutImageIndex
Definition: toolsband.cpp:156
static const int backImageIndex
Definition: toolsband.cpp:151
static const int searchImageIndex
Definition: toolsband.cpp:168
static const int deleteImageIndex
Definition: toolsband.cpp:161
static const int folderOptionsImageIndex
Definition: toolsband.cpp:197
static const int foldersImageIndex
Definition: toolsband.cpp:194
static const int moveToImageIndex
Definition: toolsband.cpp:195
static const int mapDriveImageIndex
Definition: toolsband.cpp:180
static const int propertiesImageIndex
Definition: toolsband.cpp:166
static const int copyToImageIndex
Definition: toolsband.cpp:196
static const int undoImageIndex
Definition: toolsband.cpp:159

Definition at line 227 of file toolsband.cpp.

Referenced by CToolsBand::OnGetButtonInfo(), and CToolsBand::SetSite().

◆ undoImageIndex

const int undoImageIndex = 8
static

Definition at line 159 of file toolsband.cpp.

◆ upImageIndex

const int upImageIndex = 28
static

Definition at line 179 of file toolsband.cpp.

◆ viewsImageIndex

const int viewsImageIndex = 22
static

Definition at line 173 of file toolsband.cpp.