unit1.h

来自「C++Builder高级应用开发指南随书源码」· C头文件 代码 · 共 66 行

H
66
字号
//$$---- Property page hdr ---- (stPropertyPageHdr)
//---------------------------------------------------------------------------


#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <classes.hpp>
#include <controls.hpp>
#include <stdctrls.hpp>
#include <forms.hpp>
#include <axctrls.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include "CSPIN.h"
//---------------------------------------------------------------------------


class TPropertyPage1 : public TPropertyPage
{
__published:	// IDE-managed Components
    TLabel *lbGraphics;
    TCSpinEdit *edCount;
private:	// User declarations
public:		// User declarations
    __fastcall TPropertyPage1(Classes::TComponent *Component);
        virtual void __fastcall UpdateObject(void);
        virtual void __fastcall UpdatePropertyPage(void);
};
//---------------------------------------------------------------------------


extern PACKAGE TPropertyPage1 *PropertyPage1;
DEFINE_GUID(CLSID_PropertyPage1, 0x657038BC, 0x16B0, 0x452B, 0xA4, 0x37, 0x03, 0xDC, 0x84, 0x36, 0xE7, 0x08);
//---------------------------------------------------------------------------


class ATL_NO_VTABLE TPropertyPage1Impl:
  PROPERTYPAGE_IMPL(TPropertyPage1Impl, PropertyPage1, TPropertyPage1)
{
public:

// The COM MAP entries declares the interfaces your object exposes (through
// QueryInterface). CComRootObjectEx::InternalQueryInterface only returns
// pointers for interfaces in the COM map. VCL controls exposed as OCXes
// have a minimum set of interfaces defined by the
// VCL_CONTROL_COM_INTERFACE_ENTRIES macro. Add other interfaces supported
// by your object with additional COM_INTERFACE_ENTRY[_xxx] macros.
//
BEGIN_COM_MAP(TPropertyPage1Impl)
  PROPERTYPAGE_COM_INTERFACE_ENTRIES
END_COM_MAP()

// The following macro declares a 'static UpdateRegistry(..)' which is
// used by ATL to register this object.
//
DECLARE_COMSERVER_REGISTRY("", "PropertyPage1 property page");

protected:
};
//---------------------------------------------------------------------------


#endif
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?