- Main Page
- Classes
- Files

- File List
- File Members

# E:/uas2/Server/commondialog.h

    00001 #if !defined(AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_)
    00002 #define AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_
    00003
    00004 #if _MSC_VER > 1000
    00005 #pragma once
    00006 #endif // _MSC_VER > 1000
    00007 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
    00008
    00009 // NOTE: Do not modify the contents of this file.  If this class is regenerated by
    00010 //  Microsoft Visual C++, your modifications will be overwritten.
    00011
    00013 // CCommonDialog1 wrapper class
    00014
    00015 class CCommonDialog1 : public CWnd
    00016 {
    00017 protected:
    00018         DECLARE_DYNCREATE(CCommonDialog1)
    00019 public:
    00020         CLSID const& GetClsid()
    00021         {
    00022                 static CLSID const clsid
    00023                         = { 0xf9043c85, 0xf6f2, 0x101a, { 0xa3, 0xc9, 0x8, 0x0, 0x2b, 0x2f, 0x49, 0xfb } };
    00024                 return clsid;
    00025         }
    00026         virtual BOOL Create(LPCTSTR lpszClassName,
    00027                 LPCTSTR lpszWindowName, DWORD dwStyle,
    00028                 const RECT& rect,
    00029                 CWnd* pParentWnd, UINT nID,
    00030                 CCreateContext* pContext = NULL)
    00031         { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
    00032
    00033     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
    00034                 const RECT& rect, CWnd* pParentWnd, UINT nID,
    00035                 CFile* pPersist = NULL, BOOL bStorage = FALSE,
    00036                 BSTR bstrLicKey = NULL)
    00037         { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
    00038                 pPersist, bStorage, bstrLicKey); }
    00039
    00040 // Attributes
    00041 public:
    00042
    00043 // Operations
    00044 public:
    00045         CString GetFileName();
    00046         void SetFileName(LPCTSTR lpszNewValue);
    00047         CString GetDialogTitle();
    00048         void SetDialogTitle(LPCTSTR lpszNewValue);
    00049         CString GetFilter();
    00050         void SetFilter(LPCTSTR lpszNewValue);
    00051         CString GetDefaultExt();
    00052         void SetDefaultExt(LPCTSTR lpszNewValue);
    00053         CString GetInitDir();
    00054         void SetInitDir(LPCTSTR lpszNewValue);
    00055         unsigned long GetColor();
    00056         void SetColor(unsigned long newValue);
    00057         long GetFlags();
    00058         void SetFlags(long nNewValue);
    00059         CString GetFontName();
    00060         void SetFontName(LPCTSTR lpszNewValue);
    00061         BOOL GetFontBold();
    00062         void SetFontBold(BOOL bNewValue);
    00063         BOOL GetFontItalic();
    00064         void SetFontItalic(BOOL bNewValue);
    00065         BOOL GetFontStrikeThru();
    00066         void SetFontStrikeThru(BOOL bNewValue);
    00067         BOOL GetFontUnderLine();
    00068         void SetFontUnderLine(BOOL bNewValue);
    00069         short GetFromPage();
    00070         void SetFromPage(short nNewValue);
    00071         short GetToPage();
    00072         void SetToPage(short nNewValue);
    00073         short GetMin();
    00074         void SetMin(short nNewValue);
    00075         short GetMax();
    00076         void SetMax(short nNewValue);
    00077         short GetCopies();
    00078         void SetCopies(short nNewValue);
    00079         BOOL GetCancelError();
    00080         void SetCancelError(BOOL bNewValue);
    00081         CString GetHelpFile();
    00082         void SetHelpFile(LPCTSTR lpszNewValue);
    00083         short GetHelpCommand();
    00084         void SetHelpCommand(short nNewValue);
    00085         CString GetHelpKey();
    00086         void SetHelpKey(LPCTSTR lpszNewValue);
    00087         BOOL GetPrinterDefault();
    00088         void SetPrinterDefault(BOOL bNewValue);
    00089         short GetFilterIndex();
    00090         void SetFilterIndex(short nNewValue);
    00091         long GetHelpContext();
    00092         void SetHelpContext(long nNewValue);
    00093         float GetFontSize();
    00094         void SetFontSize(float newValue);
    00095         short GetAction();
    00096         void SetAction(short nNewValue);
    00097         short GetMaxFileSize();
    00098         void SetMaxFileSize(short nNewValue);
    00099         long GetHDC();
    00100         void SetHDC(long nNewValue);
    00101         CString GetFileTitle();
    00102         void SetFileTitle(LPCTSTR lpszNewValue);
    00103         void ShowOpen();
    00104         void ShowSave();
    00105         void ShowColor();
    00106         void ShowFont();
    00107         void ShowPrinter();
    00108         void ShowHelp();
    00109         long GetOrientation();
    00110         void SetOrientation(long nNewValue);
    00111 };
    00112
    00113 //{{AFX_INSERT_LOCATION}}
    00114 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
    00115
    00116 #endif // !defined(AFX_COMMONDIALOG_H__22419D80_23A4_434E_9292_C1FE8A898CB0__INCLUDED_)