Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
XFileDlg.h
1
// CExWnd.h: interface for the CXWnd class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
5
#if !defined(CFILEDLG_INCLUDE_H)
6
#define CFILEDLG_INCLUDE_H
7
8
#ifdef _MSC_VER
9
#pragma once
10
#endif
// _MSC_VER
11
12
BEGIN_MOOTOOLS_NAMESPACE
13
14
#include <commdlg.h>
15
16
class
DLL_TOOLSFUNCTION CXFileDialog :
public
CXDialog
17
{
18
DECLARE_DYNAMIC_XOBJECT(CXFileDialog)
19
20
// Constructors
21
CXFileDialog(
bool
openMode
,
LPCTSTR
lpszDefExt
=
NULL
,
LPCTSTR
lpszFileName
=
NULL
,
DWORD
dwFlags
=
OFN_HIDEREADONLY
|
OFN_OVERWRITEPROMPT
,
LPCTSTR
lpszFilter
=
NULL
,
CXWnd
*
pParentWnd
=
NULL
,
unsigned
int
unusedSize
= 0,
bool
unusedbool
=
false
);
22
virtual
~CXFileDialog();
23
24
// Operations
25
virtual
INT_PTR
DoModal();
26
27
CXString
GetPathName()
const
;
// return full path and filename
28
CXString
GetFileName()
const
;
// return only filename
29
CXString
GetFileExt()
const
;
// return only ext
30
31
void
* GetStartPosition()
const
;
32
CXString
GetNextPathName(
void
*& pos)
const
;
33
34
protected
:
35
bool
openFileMode;
// true for file open
36
OPENFILENAME
m_ofn;
37
38
TCHAR
dlgTitle[64];
// dialog title
39
CXString
m_strFilter;
// provided extensions separated fields with '|', terminated with '||\0'
40
TCHAR
m_szFileName[
MAX_PATH
];
// initial filename
41
};
42
43
44
END_MOOTOOLS_NAMESPACE
45
46
#endif
// !defined(CFILEDLG_INCLUDE_H)
C3DTPoint
The class defines an x, y, z 3D point which can use int, float or double.
Definition
3DPoint.h:27
CXTString< TCHAR >
VS2022-PolygonCruncherSDK-Full-IO
SDK
Includes
XFileDlg.h
Generated by
1.9.8