"Browse Files..." sub-start menu More...
#include <startmenu.h>


Public Types | |
| typedef StartMenuHandler | super |
Public Member Functions | |
| BrowseMenu (HWND hwnd, const StartMenuCreateInfo &create_info) | |
Protected Member Functions | |
| virtual void | AddEntries () |
"Browse Files..." sub-start menu
Definition at line 408 of file startmenu.h.
| typedef StartMenuHandler BrowseMenu::super |
Reimplemented from StartMenuHandler.
Definition at line 410 of file startmenu.h.
| BrowseMenu::BrowseMenu | ( | HWND | hwnd, |
| const StartMenuCreateInfo & | create_info | ||
| ) | [inline] |
Definition at line 412 of file startmenu.h.
: super(hwnd, create_info) { }
| void BrowseMenu::AddEntries | ( | ) | [protected, virtual] |
Reimplemented from StartMenu.
Definition at line 2188 of file startmenu.cpp.
References StartMenu::AddButton(), StartMenu::AddEntries(), g_Globals, ICID_FOLDER, ICID_NETWORK, IDC_DRIVES, IDC_NETWORK, IDS_DRIVES, and IDS_NETWORK.
{
super::AddEntries();
#ifndef __MINGW32__ // SHRestricted() missing in MinGW (as of 29.10.2003)
if (!g_Globals._SHRestricted || !SHRestricted(REST_NONETHOOD)) // or REST_NOENTIRENETWORK ?
#endif
#if defined(ROSSHELL) || defined(__REACTOS__) // __REACTOS__ to be removed when printer/network will be implemented
AddButton(ResString(IDS_NETWORK), ICID_NETWORK, false, IDC_NETWORK);
#else
AddButton(ResString(IDS_NETWORK), ICID_NETWORK, true, IDC_NETWORK);
#endif
AddButton(ResString(IDS_DRIVES), ICID_FOLDER, true, IDC_DRIVES);
}

|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|