123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>UAS2: E:/uas2/Server/commondialog.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <!-- Generated by Doxygen 1.6.2 -->
- <div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="main.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <div class="tabs">
- <ul>
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
- <h1>E:/uas2/Server/commondialog.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#if !defined(AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_)</span>
- <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_</span>
- <a name="l00003"></a>00003 <span class="preprocessor"></span>
- <a name="l00004"></a>00004 <span class="preprocessor">#if _MSC_VER > 1000</span>
- <a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
- <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#endif // _MSC_VER > 1000</span>
- <a name="l00007"></a>00007 <span class="preprocessor"></span><span class="comment">// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++</span>
- <a name="l00008"></a>00008
- <a name="l00009"></a>00009 <span class="comment">// NOTE: Do not modify the contents of this file. If this class is regenerated by</span>
- <a name="l00010"></a>00010 <span class="comment">// Microsoft Visual C++, your modifications will be overwritten.</span>
- <a name="l00011"></a>00011
- <a name="l00013"></a>00013 <span class="comment">// CCommonDialog1 wrapper class</span>
- <a name="l00014"></a>00014
- <a name="l00015"></a>00015 <span class="keyword">class </span>CCommonDialog1 : <span class="keyword">public</span> CWnd
- <a name="l00016"></a>00016 {
- <a name="l00017"></a>00017 <span class="keyword">protected</span>:
- <a name="l00018"></a>00018 DECLARE_DYNCREATE(CCommonDialog1)
- <a name="l00019"></a>00019 public:
- <a name="l00020"></a>00020 CLSID const& GetClsid()
- <a name="l00021"></a>00021 {
- <a name="l00022"></a>00022 <span class="keyword">static</span> CLSID <span class="keyword">const</span> clsid
- <a name="l00023"></a>00023 = { 0xf9043c85, 0xf6f2, 0x101a, { 0xa3, 0xc9, 0x8, 0x0, 0x2b, 0x2f, 0x49, 0xfb } };
- <a name="l00024"></a>00024 <span class="keywordflow">return</span> clsid;
- <a name="l00025"></a>00025 }
- <a name="l00026"></a>00026 <span class="keyword">virtual</span> BOOL Create(LPCTSTR lpszClassName,
- <a name="l00027"></a>00027 LPCTSTR lpszWindowName, DWORD dwStyle,
- <a name="l00028"></a>00028 <span class="keyword">const</span> RECT& rect,
- <a name="l00029"></a>00029 CWnd* pParentWnd, UINT nID,
- <a name="l00030"></a>00030 CCreateContext* pContext = NULL)
- <a name="l00031"></a>00031 { <span class="keywordflow">return</span> CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
- <a name="l00032"></a>00032
- <a name="l00033"></a>00033 BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- <a name="l00034"></a>00034 <span class="keyword">const</span> RECT& rect, CWnd* pParentWnd, UINT nID,
- <a name="l00035"></a>00035 CFile* pPersist = NULL, BOOL bStorage = FALSE,
- <a name="l00036"></a>00036 BSTR bstrLicKey = NULL)
- <a name="l00037"></a>00037 { <span class="keywordflow">return</span> CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- <a name="l00038"></a>00038 pPersist, bStorage, bstrLicKey); }
- <a name="l00039"></a>00039
- <a name="l00040"></a>00040 <span class="comment">// Attributes</span>
- <a name="l00041"></a>00041 <span class="keyword">public</span>:
- <a name="l00042"></a>00042
- <a name="l00043"></a>00043 <span class="comment">// Operations</span>
- <a name="l00044"></a>00044 <span class="keyword">public</span>:
- <a name="l00045"></a>00045 CString GetFileName();
- <a name="l00046"></a>00046 <span class="keywordtype">void</span> SetFileName(LPCTSTR lpszNewValue);
- <a name="l00047"></a>00047 CString GetDialogTitle();
- <a name="l00048"></a>00048 <span class="keywordtype">void</span> SetDialogTitle(LPCTSTR lpszNewValue);
- <a name="l00049"></a>00049 CString GetFilter();
- <a name="l00050"></a>00050 <span class="keywordtype">void</span> SetFilter(LPCTSTR lpszNewValue);
- <a name="l00051"></a>00051 CString GetDefaultExt();
- <a name="l00052"></a>00052 <span class="keywordtype">void</span> SetDefaultExt(LPCTSTR lpszNewValue);
- <a name="l00053"></a>00053 CString GetInitDir();
- <a name="l00054"></a>00054 <span class="keywordtype">void</span> SetInitDir(LPCTSTR lpszNewValue);
- <a name="l00055"></a>00055 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetColor();
- <a name="l00056"></a>00056 <span class="keywordtype">void</span> SetColor(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> newValue);
- <a name="l00057"></a>00057 <span class="keywordtype">long</span> GetFlags();
- <a name="l00058"></a>00058 <span class="keywordtype">void</span> SetFlags(<span class="keywordtype">long</span> nNewValue);
- <a name="l00059"></a>00059 CString GetFontName();
- <a name="l00060"></a>00060 <span class="keywordtype">void</span> SetFontName(LPCTSTR lpszNewValue);
- <a name="l00061"></a>00061 BOOL GetFontBold();
- <a name="l00062"></a>00062 <span class="keywordtype">void</span> SetFontBold(BOOL bNewValue);
- <a name="l00063"></a>00063 BOOL GetFontItalic();
- <a name="l00064"></a>00064 <span class="keywordtype">void</span> SetFontItalic(BOOL bNewValue);
- <a name="l00065"></a>00065 BOOL GetFontStrikeThru();
- <a name="l00066"></a>00066 <span class="keywordtype">void</span> SetFontStrikeThru(BOOL bNewValue);
- <a name="l00067"></a>00067 BOOL GetFontUnderLine();
- <a name="l00068"></a>00068 <span class="keywordtype">void</span> SetFontUnderLine(BOOL bNewValue);
- <a name="l00069"></a>00069 <span class="keywordtype">short</span> GetFromPage();
- <a name="l00070"></a>00070 <span class="keywordtype">void</span> SetFromPage(<span class="keywordtype">short</span> nNewValue);
- <a name="l00071"></a>00071 <span class="keywordtype">short</span> GetToPage();
- <a name="l00072"></a>00072 <span class="keywordtype">void</span> SetToPage(<span class="keywordtype">short</span> nNewValue);
- <a name="l00073"></a>00073 <span class="keywordtype">short</span> GetMin();
- <a name="l00074"></a>00074 <span class="keywordtype">void</span> SetMin(<span class="keywordtype">short</span> nNewValue);
- <a name="l00075"></a>00075 <span class="keywordtype">short</span> GetMax();
- <a name="l00076"></a>00076 <span class="keywordtype">void</span> SetMax(<span class="keywordtype">short</span> nNewValue);
- <a name="l00077"></a>00077 <span class="keywordtype">short</span> GetCopies();
- <a name="l00078"></a>00078 <span class="keywordtype">void</span> SetCopies(<span class="keywordtype">short</span> nNewValue);
- <a name="l00079"></a>00079 BOOL GetCancelError();
- <a name="l00080"></a>00080 <span class="keywordtype">void</span> SetCancelError(BOOL bNewValue);
- <a name="l00081"></a>00081 CString GetHelpFile();
- <a name="l00082"></a>00082 <span class="keywordtype">void</span> SetHelpFile(LPCTSTR lpszNewValue);
- <a name="l00083"></a>00083 <span class="keywordtype">short</span> GetHelpCommand();
- <a name="l00084"></a>00084 <span class="keywordtype">void</span> SetHelpCommand(<span class="keywordtype">short</span> nNewValue);
- <a name="l00085"></a>00085 CString GetHelpKey();
- <a name="l00086"></a>00086 <span class="keywordtype">void</span> SetHelpKey(LPCTSTR lpszNewValue);
- <a name="l00087"></a>00087 BOOL GetPrinterDefault();
- <a name="l00088"></a>00088 <span class="keywordtype">void</span> SetPrinterDefault(BOOL bNewValue);
- <a name="l00089"></a>00089 <span class="keywordtype">short</span> GetFilterIndex();
- <a name="l00090"></a>00090 <span class="keywordtype">void</span> SetFilterIndex(<span class="keywordtype">short</span> nNewValue);
- <a name="l00091"></a>00091 <span class="keywordtype">long</span> GetHelpContext();
- <a name="l00092"></a>00092 <span class="keywordtype">void</span> SetHelpContext(<span class="keywordtype">long</span> nNewValue);
- <a name="l00093"></a>00093 <span class="keywordtype">float</span> GetFontSize();
- <a name="l00094"></a>00094 <span class="keywordtype">void</span> SetFontSize(<span class="keywordtype">float</span> newValue);
- <a name="l00095"></a>00095 <span class="keywordtype">short</span> GetAction();
- <a name="l00096"></a>00096 <span class="keywordtype">void</span> SetAction(<span class="keywordtype">short</span> nNewValue);
- <a name="l00097"></a>00097 <span class="keywordtype">short</span> GetMaxFileSize();
- <a name="l00098"></a>00098 <span class="keywordtype">void</span> SetMaxFileSize(<span class="keywordtype">short</span> nNewValue);
- <a name="l00099"></a>00099 <span class="keywordtype">long</span> GetHDC();
- <a name="l00100"></a>00100 <span class="keywordtype">void</span> SetHDC(<span class="keywordtype">long</span> nNewValue);
- <a name="l00101"></a>00101 CString GetFileTitle();
- <a name="l00102"></a>00102 <span class="keywordtype">void</span> SetFileTitle(LPCTSTR lpszNewValue);
- <a name="l00103"></a>00103 <span class="keywordtype">void</span> ShowOpen();
- <a name="l00104"></a>00104 <span class="keywordtype">void</span> ShowSave();
- <a name="l00105"></a>00105 <span class="keywordtype">void</span> ShowColor();
- <a name="l00106"></a>00106 <span class="keywordtype">void</span> ShowFont();
- <a name="l00107"></a>00107 <span class="keywordtype">void</span> ShowPrinter();
- <a name="l00108"></a>00108 <span class="keywordtype">void</span> ShowHelp();
- <a name="l00109"></a>00109 <span class="keywordtype">long</span> GetOrientation();
- <a name="l00110"></a>00110 <span class="keywordtype">void</span> SetOrientation(<span class="keywordtype">long</span> nNewValue);
- <a name="l00111"></a>00111 };
- <a name="l00112"></a>00112
- <a name="l00113"></a>00113 <span class="comment">//{{AFX_INSERT_LOCATION}}</span>
- <a name="l00114"></a>00114 <span class="comment">// Microsoft Visual C++ will insert additional declarations immediately before the previous line.</span>
- <a name="l00115"></a>00115
- <a name="l00116"></a>00116 <span class="preprocessor">#endif // !defined(AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_)</span>
- </pre></div></div>
- <hr size="1"/><address style="text-align: right;"><small>Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
- </body>
- </html>
|