ReactOS 0.4.15-dev-7931-gfd331f1
FolderBrowser Struct Reference

Browse dialog operating on shell namespace. More...

#include <shellclasses.h>

Inheritance diagram for FolderBrowser:
Collaboration diagram for FolderBrowser:

Public Member Functions

 FolderBrowser (HWND owner, UINT flags, LPCTSTR title, LPCITEMIDLIST root=0)
 
LPCTSTR GetDisplayName ()
 
bool IsOK ()
 
- Public Member Functions inherited from FileSysShellPath
 FileSysShellPath (const ShellPath &o)
 
 operator LPCTSTR ()
 
- Public Member Functions inherited from ShellPath
 ShellPath ()
 
 ShellPath (IShellFolder *folder, LPCWSTR path)
 
 ShellPath (LPCWSTR path)
 
 ShellPath (IShellFolder *folder, LPCSTR path)
 
 ShellPath (LPCSTR path)
 
 ShellPath (const ShellPath &o)
 
 ShellPath (LPITEMIDLIST p)
 
 ShellPath (LPCITEMIDLIST p)
 
void operator= (const ShellPath &o)
 
void operator= (ITEMIDLIST *p)
 
void operator= (const SHITEMID &o)
 
void operator+= (const SHITEMID &o)
 
void assign (LPCITEMIDLIST pidl, size_t size)
 
void assign (LPCITEMIDLIST pidl)
 
void split (ShellPath &parent, ShellPath &obj) const
 
void GetUIObjectOf (REFIID riid, LPVOID *ppvOut, HWND hWnd=0, ShellFolder &sf=GetDesktopFolder())
 
ShellFolder get_folder ()
 
ShellFolder get_folder (IShellFolder *parent)
 
ShellPath create_absolute_pidl (LPCITEMIDLIST parent_pidl) const
 
- Public Member Functions inherited from SShellPtr< ITEMIDLIST >
 ~SShellPtr ()
 
ITEMIDLISToperator-> ()
 
ITEMIDLIST constoperator-> () const
 
 operator ITEMIDLIST const * () const
 
const ITEMIDLISToperator* () const
 
ITEMIDLISToperator* ()
 

Private Attributes

BROWSEINFO _browseinfo
 
TCHAR _displayname [MAX_PATH]
 

Additional Inherited Members

- Public Types inherited from ShellPath
typedef SShellPtr< ITEMIDLISTsuper
 
- Protected Member Functions inherited from FileSysShellPath
 FileSysShellPath ()
 
- Protected Member Functions inherited from SShellPtr< ITEMIDLIST >
 SShellPtr ()
 
 SShellPtr (ITEMIDLIST *p)
 
void Free ()
 
- Protected Attributes inherited from SShellPtr< ITEMIDLIST >
ITEMIDLIST_p
 
ShellMalloc _malloc
 

Detailed Description

Browse dialog operating on shell namespace.

Definition at line 947 of file shellclasses.h.

Constructor & Destructor Documentation

◆ FolderBrowser()

FolderBrowser::FolderBrowser ( HWND  owner,
UINT  flags,
LPCTSTR  title,
LPCITEMIDLIST  root = 0 
)
inline

Definition at line 949 of file shellclasses.h.

950 {
951 _displayname[0] = '\0';
952 _browseinfo.hwndOwner = owner;
953 _browseinfo.pidlRoot = root;
954 _browseinfo.pszDisplayName = _displayname;
955 _browseinfo.lpszTitle = title;
956 _browseinfo.ulFlags = flags;
957 _browseinfo.lpfn = 0;
958 _browseinfo.lParam = 0;
959 _browseinfo.iImage = 0;
960
962 }
struct _root root
GLbitfield flags
Definition: glext.h:7161
static char title[]
Definition: ps.c:92
#define SHBrowseForFolder
Definition: shlobj.h:1246
BROWSEINFO _browseinfo
Definition: shellclasses.h:975
TCHAR _displayname[MAX_PATH]
Definition: shellclasses.h:976

Member Function Documentation

◆ GetDisplayName()

LPCTSTR FolderBrowser::GetDisplayName ( )
inline

Definition at line 964 of file shellclasses.h.

965 {
966 return _displayname;
967 }

◆ IsOK()

bool FolderBrowser::IsOK ( )
inline

Definition at line 969 of file shellclasses.h.

970 {
971 return _p != 0;
972 }

Referenced by main().

Member Data Documentation

◆ _browseinfo

BROWSEINFO FolderBrowser::_browseinfo
private

Definition at line 975 of file shellclasses.h.

Referenced by FolderBrowser().

◆ _displayname

TCHAR FolderBrowser::_displayname[MAX_PATH]
private

Definition at line 976 of file shellclasses.h.

Referenced by FolderBrowser(), and GetDisplayName().


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