123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500 |
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "commondialog.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CCommonDialog1
-
- IMPLEMENT_DYNCREATE(CCommonDialog1, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CCommonDialog1 properties
-
- /////////////////////////////////////////////////////////////////////////////
- // CCommonDialog1 operations
-
- CString CCommonDialog1::GetFileName()
- {
- CString result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFileName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- CString CCommonDialog1::GetDialogTitle()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetDialogTitle(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- CString CCommonDialog1::GetFilter()
- {
- CString result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFilter(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- CString CCommonDialog1::GetDefaultExt()
- {
- CString result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetDefaultExt(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- CString CCommonDialog1::GetInitDir()
- {
- CString result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetInitDir(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- unsigned long CCommonDialog1::GetColor()
- {
- unsigned long result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- long CCommonDialog1::GetFlags()
- {
- long result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFlags(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- CString CCommonDialog1::GetFontName()
- {
- CString result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- BOOL CCommonDialog1::GetFontBold()
- {
- BOOL result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontBold(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- BOOL CCommonDialog1::GetFontItalic()
- {
- BOOL result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontItalic(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- BOOL CCommonDialog1::GetFontStrikeThru()
- {
- BOOL result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontStrikeThru(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- BOOL CCommonDialog1::GetFontUnderLine()
- {
- BOOL result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontUnderLine(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- short CCommonDialog1::GetFromPage()
- {
- short result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFromPage(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CCommonDialog1::GetToPage()
- {
- short result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetToPage(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CCommonDialog1::GetMin()
- {
- short result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetMin(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CCommonDialog1::GetMax()
- {
- short result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetMax(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CCommonDialog1::GetCopies()
- {
- short result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetCopies(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- BOOL CCommonDialog1::GetCancelError()
- {
- BOOL result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetCancelError(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- CString CCommonDialog1::GetHelpFile()
- {
- CString result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetHelpFile(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- short CCommonDialog1::GetHelpCommand()
- {
- short result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetHelpCommand(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- CString CCommonDialog1::GetHelpKey()
- {
- CString result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetHelpKey(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- BOOL CCommonDialog1::GetPrinterDefault()
- {
- BOOL result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetPrinterDefault(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
-
- short CCommonDialog1::GetFilterIndex()
- {
- short result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFilterIndex(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CCommonDialog1::GetHelpContext()
- {
- long result;
- InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetHelpContext(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- float CCommonDialog1::GetFontSize()
- {
- float result;
- InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFontSize(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- short CCommonDialog1::GetAction()
- {
- short result;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetAction(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CCommonDialog1::GetMaxFileSize()
- {
- short result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetMaxFileSize(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CCommonDialog1::GetHDC()
- {
- long result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetHDC(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- CString CCommonDialog1::GetFileTitle()
- {
- CString result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetFileTitle(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- void CCommonDialog1::ShowOpen()
- {
- InvokeHelper(0x1e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CCommonDialog1::ShowSave()
- {
- InvokeHelper(0x1f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CCommonDialog1::ShowColor()
- {
- InvokeHelper(0x20, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CCommonDialog1::ShowFont()
- {
- InvokeHelper(0x21, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CCommonDialog1::ShowPrinter()
- {
- InvokeHelper(0x22, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CCommonDialog1::ShowHelp()
- {
- InvokeHelper(0x23, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- long CCommonDialog1::GetOrientation()
- {
- long result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CCommonDialog1::SetOrientation(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
|