home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
com
/
inole2
/
interfac
/
iproppg2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-21
|
2KB
|
55 lines
/*
* IPROPPG2.H
*
* Header for template IPropertyPage2 interface implementation.
*
* Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Microsoft
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/
#ifndef _IPROPPG2_H_
#define _IPROPPG2_H_
#define INC_CONTROLS
#include <inole.h>
class CImpIPropertyPage2;
typedef class CImpIPropertyPage2 *PCImpIPropertyPage2;
class CImpIPropertyPage2 : public IPropertyPage2
{
protected:
ULONG m_cRef; //Interface reference count
LPVOID m_pObj; //Backpointer to the object
LPUNKNOWN m_pUnkOuter; //For delegation
public:
CImpIPropertyPage2(LPVOID, LPUNKNOWN);
~CImpIPropertyPage2(void);
STDMETHODIMP QueryInterface(REFIID, LPVOID *);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
STDMETHODIMP SetPageSite(LPPROPERTYPAGESITE);
STDMETHODIMP Activate(HWND, LPCRECT, BOOL);
STDMETHODIMP Deactivate(void);
STDMETHODIMP GetPageInfo(LPPROPPAGEINFO);
STDMETHODIMP SetObjects(ULONG, LPUNKNOWN *);
STDMETHODIMP Show(UINT);
STDMETHODIMP Move(LPCRECT);
STDMETHODIMP IsPageDirty(void);
STDMETHODIMP Apply(void);
STDMETHODIMP Help(LPCOLESTR);
STDMETHODIMP TranslateAccelerator(LPMSG);
STDMETHODIMP EditProperty(DISPID dispid);
};
#endif //_IPROPPG2_H_