Public Types | Public Member Functions | Protected Member Functions

BrowseMenu Struct Reference

"Browse Files..." sub-start menu More...

#include <startmenu.h>

Inheritance diagram for BrowseMenu:
Inheritance graph
[legend]
Collaboration diagram for BrowseMenu:
Collaboration graph
[legend]

List of all members.

Public Types

typedef StartMenuHandler super

Public Member Functions

 BrowseMenu (HWND hwnd, const StartMenuCreateInfo &create_info)

Protected Member Functions

virtual void AddEntries ()

Detailed Description

"Browse Files..." sub-start menu

Definition at line 408 of file startmenu.h.


Member Typedef Documentation

Reimplemented from StartMenuHandler.

Definition at line 410 of file startmenu.h.


Constructor & Destructor Documentation

BrowseMenu::BrowseMenu ( HWND  hwnd,
const StartMenuCreateInfo create_info 
) [inline]

Definition at line 412 of file startmenu.h.

     :  super(hwnd, create_info)
    {
    }

Member Function Documentation

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);
}

Here is the call graph for this function:


The documentation for this struct was generated from the following files:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage