1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: image.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a></div>
<h1>image.h</h1><div class="fragment"><pre>00001 <span class="preprocessor">#if !defined(AFX_IMAGE_H__9B270261_CDCA_11D3_8258_0020AF58A97B__INCLUDED_)</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define AFX_IMAGE_H__9B270261_CDCA_11D3_8258_0020AF58A97B__INCLUDED_</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#if _MSC_VER > 1000</span>
00005 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
00006 <span class="preprocessor"></span><span class="preprocessor">#endif // _MSC_VER > 1000</span>
00007 <span class="preprocessor"></span><span class="comment">// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++</span>
00008
00009 <span class="comment">// NOTE: Do not modify the contents of this file. If this class is regenerated by</span>
00010 <span class="comment">// Microsoft Visual C++, your modifications will be overwritten.</span>
00011
00012
00013 <span class="comment">// Dispatch interfaces referenced by this interface</span>
00014 <span class="keyword">class </span>CPicture;
00015 <span class="comment"></span>
00016 <span class="comment">/////////////////////////////////////////////////////////////////////////////</span>
00017 <span class="comment"></span><span class="comment">// CImage wrapper class</span>
00018
00019 <span class="keyword">class </span>CImage : <span class="keyword">public</span> CWnd
00020 {
00021 <span class="keyword">protected</span>:
00022 DECLARE_DYNCREATE(CImage)
00023 <span class="keyword">public</span>:
00024 CLSID <span class="keyword">const</span>& GetClsid()
00025 {
00026 <span class="keyword">static</span> CLSID <span class="keyword">const</span> clsid
00027 = { 0x4c599241, 0x6926, 0x101b, { 0x99, 0x92, 0x0, 0x0, 0xb, 0x65, 0xc6, 0xf9 } };
00028 <span class="keywordflow">return</span> clsid;
00029 }
00030 <span class="keyword">virtual</span> BOOL Create(LPCTSTR lpszClassName,
00031 LPCTSTR lpszWindowName, DWORD dwStyle,
00032 <span class="keyword">const</span> RECT& rect,
00033 CWnd* pParentWnd, UINT nID,
00034 CCreateContext* pContext = NULL)
00035 { <span class="keywordflow">return</span> CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
00036
00037 BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
00038 <span class="keyword">const</span> RECT& rect, CWnd* pParentWnd, UINT nID,
00039 CFile* pPersist = NULL, <span class="keywordtype">bool</span> bStorage = <span class="keyword">false</span>,
00040 BSTR bstrLicKey = NULL)
00041 { <span class="keywordflow">return</span> CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
00042 pPersist, bStorage, bstrLicKey); }
00043
00044 <span class="comment">// Attributes</span>
00045 <span class="keyword">public</span>:
00046
00047 <span class="comment">// Operations</span>
00048 <span class="keyword">public</span>:
00049 <span class="keywordtype">void</span> SetEnabled(<span class="keywordtype">bool</span> bNewValue);
00050 <span class="keywordtype">bool</span> GetEnabled();
00051 <span class="keywordtype">void</span> SetMousePointer(<span class="keywordtype">long</span> nNewValue);
00052 <span class="keywordtype">long</span> GetMousePointer();
00053 <span class="keywordtype">void</span> SetAutoSize(<span class="keywordtype">bool</span> bNewValue);
00054 <span class="keywordtype">bool</span> GetAutoSize();
00055 <span class="keywordtype">void</span> SetBackColor(<span class="keywordtype">long</span> nNewValue);
00056 <span class="keywordtype">long</span> GetBackColor();
00057 <span class="keywordtype">void</span> SetBackStyle(<span class="keywordtype">long</span> nNewValue);
00058 <span class="keywordtype">long</span> GetBackStyle();
00059 <span class="keywordtype">void</span> SetBorderColor(<span class="keywordtype">long</span> nNewValue);
00060 <span class="keywordtype">long</span> GetBorderColor();
00061 <span class="keywordtype">void</span> SetBorderStyle(<span class="keywordtype">long</span> nNewValue);
00062 <span class="keywordtype">long</span> GetBorderStyle();
00063 <span class="keywordtype">void</span> SetPicture(LPDISPATCH newValue);
00064 <span class="keywordtype">void</span> SetRefPicture(LPDISPATCH newValue);
00065 CPicture GetPicture();
00066 <span class="keywordtype">void</span> SetMouseIcon(LPDISPATCH newValue);
00067 <span class="keywordtype">void</span> SetRefMouseIcon(LPDISPATCH newValue);
00068 CPicture GetMouseIcon();
00069 <span class="keywordtype">void</span> SetPictureSizeMode(<span class="keywordtype">long</span> nNewValue);
00070 <span class="keywordtype">long</span> GetPictureSizeMode();
00071 <span class="keywordtype">void</span> SetPictureAlignment(<span class="keywordtype">long</span> nNewValue);
00072 <span class="keywordtype">long</span> GetPictureAlignment();
00073 <span class="keywordtype">void</span> SetPictureTiling(<span class="keywordtype">bool</span> bNewValue);
00074 <span class="keywordtype">bool</span> GetPictureTiling();
00075 <span class="keywordtype">void</span> SetSpecialEffect(<span class="keywordtype">long</span> nNewValue);
00076 <span class="keywordtype">long</span> GetSpecialEffect();
00077 };
00078
00079 <span class="comment">//{{AFX_INSERT_LOCATION}}</span>
00080 <span class="comment">// Microsoft Visual C++ will insert additional declarations immediately before the previous line.</span>
00081
00082 <span class="preprocessor">#endif // !defined(AFX_IMAGE_H__9B270261_CDCA_11D3_8258_0020AF58A97B__INCLUDED_)</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:40 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.2 </small></address>
</body>
</html>
|