ReactOS  0.4.13-dev-651-g5dbc677
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,
208  BtnIdx_Undo,
209  BtnIdx_Views,
210  BtnIdx_Stop,
212  BtnIdx_Home,
219  BtnIdx_Cut,
220  BtnIdx_Copy,
221  BtnIdx_Paste,
223 };

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: precomp.h:44
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:
=
{
}
static const int gHistoryCommandID
#define IDM_GOTO_UPONELEVEL
Definition: resource.h:47
#define IDM_GOTO_FORWARD
Definition: resource.h:46
#define BTNS_WHOLEDROPDOWN
Definition: commctrl.h:979
static const int viewsImageIndex
Definition: toolsband.cpp:173
static const int gMoveToCommandID
static const int copyImageIndex
Definition: toolsband.cpp:157
static const int gSearchCommandID
#define IDM_TOOLS_MAPNETWORKDRIVE
Definition: resource.h:53
static const int gCutCommandID
static const int deleteImageIndex
Definition: toolsband.cpp:161
static const int gStopCommandID
#define IDM_GOTO_BACK
Definition: resource.h:45
#define BTNS_BUTTON
Definition: commctrl.h:970
static const int gHomeCommandID
static const int propertiesImageIndex
Definition: toolsband.cpp:166
static const int moveToImageIndex
Definition: toolsband.cpp:195
static const int gUndoCommandID
#define IDM_TOOLS_FOLDEROPTIONS
Definition: resource.h:56
static const int gFoldersCommandID
static const int mapDriveImageIndex
Definition: toolsband.cpp:180
static const int disconnectImageIndex
Definition: toolsband.cpp:181
#define BTNS_SHOWTEXT
Definition: commctrl.h:978
static const int gPropertiesCommandID
static const int gFullScreenCommandID
static const int searchImageIndex
Definition: toolsband.cpp:168
#define IDM_TOOLS_DISCONNECTNETWORKDRIVE
Definition: resource.h:54
#define BTNS_SEP
Definition: commctrl.h:971
static const int pasteImageIndex
Definition: toolsband.cpp:158
static const int forwardImageIndex
Definition: toolsband.cpp:152
static const int cutImageIndex
Definition: toolsband.cpp:156
static const int backImageIndex
Definition: toolsband.cpp:151
static const int gCopyCommandID
#define BTNS_DROPDOWN
Definition: commctrl.h:975
static const int copyToImageIndex
Definition: toolsband.cpp:196
static const int gViewsCommandID
static const int gPasteCommandID
static const int gFavoritesCommandID
static const int foldersImageIndex
Definition: toolsband.cpp:194
static const int favoritesImageIndex
Definition: toolsband.cpp:153
#define IDM_VIEW_REFRESH
Definition: resource.h:49
#define TBSTATE_ENABLED
Definition: commctrl.h:946
static const int upImageIndex
Definition: toolsband.cpp:179
static const int folderOptionsImageIndex
Definition: toolsband.cpp:197
static const int undoImageIndex
Definition: toolsband.cpp:159
static const int gCopyToCommandID
static const int gDeleteCommandID

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.