Public Types | Public Member Functions | Public Attributes

FileChildWndInfo Struct Reference

information structure for creation of FileChildWindow More...

#include <filechild.h>

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

List of all members.

Public Types

typedef ChildWndInfo super

Public Member Functions

 FileChildWndInfo (HWND hmdiclient, LPCTSTR path, ENTRY_TYPE etype=ET_UNKNOWN)

Public Attributes

ENTRY_TYPE _etype
LPCTSTR _path
WINDOWPLACEMENT _pos
int _open_mode

Detailed Description

information structure for creation of FileChildWindow

Definition at line 30 of file filechild.h.


Member Typedef Documentation


Constructor & Destructor Documentation

FileChildWndInfo::FileChildWndInfo ( HWND  hmdiclient,
LPCTSTR  path,
ENTRY_TYPE  etype = ET_UNKNOWN 
)

Definition at line 38 of file filechild.cpp.

References _etype, _open_mode, _path, _pos, ET_UNKNOWN, ET_WINDOWS, OWM_DETAILS, and OWM_EXPLORE.

 :  super(hmdiclient),
    _etype(etype)
{
#ifndef _NO_WIN_FS
    if (etype == ET_UNKNOWN)
#ifdef __WINE__
        if (*path == '/')
            _etype = ET_UNIX;
        else
#endif
            _etype = ET_WINDOWS;
#endif

    _path = path;

    _pos.length = sizeof(WINDOWPLACEMENT);
    _pos.flags = 0;
    _pos.showCmd = SW_SHOWNORMAL;
    _pos.rcNormalPosition.left = CW_USEDEFAULT;
    _pos.rcNormalPosition.top = CW_USEDEFAULT;
    _pos.rcNormalPosition.right = CW_USEDEFAULT;
    _pos.rcNormalPosition.bottom = CW_USEDEFAULT;

    _open_mode = OWM_EXPLORE|OWM_DETAILS;
}

Member Data Documentation

Definition at line 36 of file filechild.h.

Referenced by FileChildWindow::FileChildWindow(), and FileChildWndInfo().

WINDOWPLACEMENT FileChildWndInfo::_pos

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