⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.h

📁 C++Builder高级应用开发指南随书源码
💻 H
字号:
//$$---- 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -