📄 simpleactiveformproj1_tlb.h
字号:
// ************************************************************************ //
// WARNING //
// ------- //
// The types declared in this file were generated from data read from a //
// Type Library. If this type library is explicitly or indirectly (via //
// another type library referring to this type library) re-imported, or the //
// 'Refresh' command of the Type Library Editor activated while editing the //
// Type Library, the contents of this file will be regenerated and all //
// manual modifications will be lost. //
// ************************************************************************ //
// C++ TLBWRTR : $Revision: 1.96.1.27 $
// File generated on 99-11-11 22:44:00 from Type Library described below.
// ************************************************************************ //
// Type Lib: D:\Book\实例27\SimpleActiveFormProj1.tlb
// IID\LCID: {BE4F8B40-9886-11D3-A824-000021ED23AF}\0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\STDOLE2.TLB)
// (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\STDVCL40.DLL)
// ************************************************************************ //
#ifndef __SimpleActiveFormProj1_TLB_h__
#define __SimpleActiveFormProj1_TLB_h__
#pragma option push -b -w-inl
#include <vcl/utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0101)
#error "This file requires an newer version of the header file UTILCLS.H"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif
// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP) //
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
namespace Simpleactiveformproj1_tlb
{
// *********************************************************************//
// HelpString: SimpleActiveFormProj1 Library
// Version: 1.0
// *********************************************************************//
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used: //
// Type Libraries : LIBID_xxxx //
// CoClasses : CLSID_xxxx //
// DISPInterfaces : DIID_xxxx //
// Non-DISP interfaces: IID_xxxx //
// *********************************************************************//
DEFINE_GUID(LIBID_SimpleActiveFormProj1, 0xBE4F8B40, 0x9886, 0x11D3, 0xA8, 0x24, 0x00, 0x00, 0x21, 0xED, 0x23, 0xAF);
DEFINE_GUID(IID_ISimpleActiveForm, 0xBE4F8B41, 0x9886, 0x11D3, 0xA8, 0x24, 0x00, 0x00, 0x21, 0xED, 0x23, 0xAF);
DEFINE_GUID(DIID_ISimpleActiveFormEvents, 0xBE4F8B43, 0x9886, 0x11D3, 0xA8, 0x24, 0x00, 0x00, 0x21, 0xED, 0x23, 0xAF);
DEFINE_GUID(CLSID_SimpleActiveForm, 0xBE4F8B45, 0x9886, 0x11D3, 0xA8, 0x24, 0x00, 0x00, 0x21, 0xED, 0x23, 0xAF);
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary //
// *********************************************************************//
enum TxActiveFormBorderStyle;
enum TxPrintScale;
enum TxMouseButton;
interface DECLSPEC_UUID("{BE4F8B41-9886-11D3-A824-000021ED23AF}") ISimpleActiveForm;
interface DECLSPEC_UUID("{BE4F8B43-9886-11D3-A824-000021ED23AF}") ISimpleActiveFormEvents;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// //
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this//
// TypeLibrary. It simplifies the updating of macros when CoClass name //
// change. //
// *********************************************************************//
typedef ISimpleActiveForm SimpleActiveForm;
#define LIBID_OF_SimpleActiveForm (&LIBID_SimpleActiveFormProj1)
// *********************************************************************//
// Declaration of Enumerations defined in Type Library //
// *********************************************************************//
typedef enum TxActiveFormBorderStyle
{
afbNone = 0,
afbSingle = 1,
afbSunken = 2,
afbRaised = 3
} TxActiveFormBorderStyle;
typedef enum TxPrintScale
{
poNone = 0,
poProportional = 1,
poPrintToFit = 2
} TxPrintScale;
typedef enum TxMouseButton
{
mbLeft = 0,
mbRight = 1,
mbMiddle = 2
} TxMouseButton;
// *********************************************************************//
// Interface: ISimpleActiveForm
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {BE4F8B41-9886-11D3-A824-000021ED23AF}
// *********************************************************************//
interface ISimpleActiveForm : public IDispatch
{
public:
virtual HRESULT STDMETHODCALLTYPE get_Visible(TOLEBOOL* Value/*[out,retval]*/) = 0; // [1]
virtual HRESULT STDMETHODCALLTYPE set_Visible(TOLEBOOL Value/*[in]*/) = 0; // [1]
virtual HRESULT STDMETHODCALLTYPE get_AutoScroll(TOLEBOOL* Value/*[out,retval]*/) = 0; // [2]
virtual HRESULT STDMETHODCALLTYPE set_AutoScroll(TOLEBOOL Value/*[in]*/) = 0; // [2]
virtual HRESULT STDMETHODCALLTYPE get_AutoSize(TOLEBOOL* Value/*[out,retval]*/) = 0; // [3]
virtual HRESULT STDMETHODCALLTYPE set_AutoSize(TOLEBOOL Value/*[in]*/) = 0; // [3]
virtual HRESULT STDMETHODCALLTYPE get_AxBorderStyle(Simpleactiveformproj1_tlb::TxActiveFormBorderStyle* Value/*[out,retval]*/) = 0; // [4]
virtual HRESULT STDMETHODCALLTYPE set_AxBorderStyle(Simpleactiveformproj1_tlb::TxActiveFormBorderStyle Value/*[in]*/) = 0; // [4]
virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(long* Value/*[out,retval]*/) = 0; // [5]
virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(long Value/*[in]*/) = 0; // [5]
virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* Value/*[out,retval]*/) = 0; // [-518]
virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR Value/*[in]*/) = 0; // [-518]
virtual HRESULT STDMETHODCALLTYPE get_Color(::OLE_COLOR* Value/*[out,retval]*/) = 0; // [-501]
virtual HRESULT STDMETHODCALLTYPE set_Color(::OLE_COLOR Value/*[in]*/) = 0; // [-501]
virtual HRESULT STDMETHODCALLTYPE get_Font(IFontDisp** Value/*[out,retval]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE set_Font(IFontDisp* Value/*[in]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE _set_Font(IFontDisp** Value/*[in]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE get_KeyPreview(TOLEBOOL* Value/*[out,retval]*/) = 0; // [6]
virtual HRESULT STDMETHODCALLTYPE set_KeyPreview(TOLEBOOL Value/*[in]*/) = 0; // [6]
virtual HRESULT STDMETHODCALLTYPE get_PixelsPerInch(long* Value/*[out,retval]*/) = 0; // [7]
virtual HRESULT STDMETHODCALLTYPE set_PixelsPerInch(long Value/*[in]*/) = 0; // [7]
virtual HRESULT STDMETHODCALLTYPE get_PrintScale(Simpleactiveformproj1_tlb::TxPrintScale* Value/*[out,retval]*/) = 0; // [8]
virtual HRESULT STDMETHODCALLTYPE set_PrintScale(Simpleactiveformproj1_tlb::TxPrintScale Value/*[in]*/) = 0; // [8]
virtual HRESULT STDMETHODCALLTYPE get_Scaled(TOLEBOOL* Value/*[out,retval]*/) = 0; // [9]
virtual HRESULT STDMETHODCALLTYPE set_Scaled(TOLEBOOL Value/*[in]*/) = 0; // [9]
virtual HRESULT STDMETHODCALLTYPE get_Active(TOLEBOOL* Value/*[out,retval]*/) = 0; // [10]
virtual HRESULT STDMETHODCALLTYPE get_DropTarget(TOLEBOOL* Value/*[out,retval]*/) = 0; // [11]
virtual HRESULT STDMETHODCALLTYPE set_DropTarget(TOLEBOOL Value/*[in]*/) = 0; // [11]
virtual HRESULT STDMETHODCALLTYPE get_HelpFile(BSTR* Value/*[out,retval]*/) = 0; // [12]
virtual HRESULT STDMETHODCALLTYPE set_HelpFile(BSTR Value/*[in]*/) = 0; // [12]
virtual HRESULT STDMETHODCALLTYPE get_DoubleBuffered(TOLEBOOL* Value/*[out,retval]*/) = 0; // [13]
virtual HRESULT STDMETHODCALLTYPE set_DoubleBuffered(TOLEBOOL Value/*[in]*/) = 0; // [13]
virtual HRESULT STDMETHODCALLTYPE get_Enabled(TOLEBOOL* Value/*[out,retval]*/) = 0; // [-514]
virtual HRESULT STDMETHODCALLTYPE set_Enabled(TOLEBOOL Value/*[in]*/) = 0; // [-514]
virtual HRESULT STDMETHODCALLTYPE get_Cursor(short* Value/*[out,retval]*/) = 0; // [14]
virtual HRESULT STDMETHODCALLTYPE set_Cursor(short Value/*[in]*/) = 0; // [14]
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
TOLEBOOL __fastcall get_Visible(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Visible(&Value));
return Value;
}
TOLEBOOL __fastcall get_AutoScroll(void)
{
TOLEBOOL Value;
OLECHECK(this->get_AutoScroll(&Value));
return Value;
}
TOLEBOOL __fastcall get_AutoSize(void)
{
TOLEBOOL Value;
OLECHECK(this->get_AutoSize(&Value));
return Value;
}
Simpleactiveformproj1_tlb::TxActiveFormBorderStyle __fastcall get_AxBorderStyle(void)
{
Simpleactiveformproj1_tlb::TxActiveFormBorderStyle Value;
OLECHECK(this->get_AxBorderStyle(&Value));
return Value;
}
long __fastcall get_BorderWidth(void)
{
long Value;
OLECHECK(this->get_BorderWidth(&Value));
return Value;
}
BSTR __fastcall get_Caption(void)
{
BSTR Value= 0;
OLECHECK(this->get_Caption(&Value));
return Value;
}
::OLE_COLOR __fastcall get_Color(void)
{
::OLE_COLOR Value;
OLECHECK(this->get_Color(&Value));
return Value;
}
IFontDisp* __fastcall get_Font(void)
{
IFontDisp* Value= 0;
OLECHECK(this->get_Font(&Value));
return Value;
}
TOLEBOOL __fastcall get_KeyPreview(void)
{
TOLEBOOL Value;
OLECHECK(this->get_KeyPreview(&Value));
return Value;
}
long __fastcall get_PixelsPerInch(void)
{
long Value;
OLECHECK(this->get_PixelsPerInch(&Value));
return Value;
}
Simpleactiveformproj1_tlb::TxPrintScale __fastcall get_PrintScale(void)
{
Simpleactiveformproj1_tlb::TxPrintScale Value;
OLECHECK(this->get_PrintScale(&Value));
return Value;
}
TOLEBOOL __fastcall get_Scaled(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Scaled(&Value));
return Value;
}
TOLEBOOL __fastcall get_Active(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Active(&Value));
return Value;
}
TOLEBOOL __fastcall get_DropTarget(void)
{
TOLEBOOL Value;
OLECHECK(this->get_DropTarget(&Value));
return Value;
}
BSTR __fastcall get_HelpFile(void)
{
BSTR Value= 0;
OLECHECK(this->get_HelpFile(&Value));
return Value;
}
TOLEBOOL __fastcall get_DoubleBuffered(void)
{
TOLEBOOL Value;
OLECHECK(this->get_DoubleBuffered(&Value));
return Value;
}
TOLEBOOL __fastcall get_Enabled(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Enabled(&Value));
return Value;
}
short __fastcall get_Cursor(void)
{
short Value;
OLECHECK(this->get_Cursor(&Value));
return Value;
}
__property TOLEBOOL Visible = {read = get_Visible, write = set_Visible};
__property TOLEBOOL AutoScroll = {read = get_AutoScroll, write = set_AutoScroll};
__property TOLEBOOL AutoSize = {read = get_AutoSize, write = set_AutoSize};
__property Simpleactiveformproj1_tlb::TxActiveFormBorderStyle AxBorderStyle = {read = get_AxBorderStyle, write = set_AxBorderStyle};
__property long BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
__property BSTR Caption = {read = get_Caption, write = set_Caption};
__property ::OLE_COLOR Color = {read = get_Color, write = set_Color};
__property IFontDisp* Font = {read = get_Font, write = set_Font};
__property TOLEBOOL KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
__property long PixelsPerInch = {read = get_PixelsPerInch, write = set_PixelsPerInch};
__property Simpleactiveformproj1_tlb::TxPrintScale PrintScale = {read = get_PrintScale, write = set_PrintScale};
__property TOLEBOOL Scaled = {read = get_Scaled, write = set_Scaled};
__property TOLEBOOL Active = {read = get_Active};
__property TOLEBOOL DropTarget = {read = get_DropTarget, write = set_DropTarget};
__property BSTR HelpFile = {read = get_HelpFile, write = set_HelpFile};
__property TOLEBOOL DoubleBuffered = {read = get_DoubleBuffered, write = set_DoubleBuffered};
__property TOLEBOOL Enabled = {read = get_Enabled, write = set_Enabled};
__property short Cursor = {read = get_Cursor, write = set_Cursor};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: ISimpleActiveFormEvents
// Flags: (0)
// GUID: {BE4F8B43-9886-11D3-A824-000021ED23AF}
// *********************************************************************//
interface ISimpleActiveFormEvents : public IDispatch
{
// DispInterfaces have no methods. Their methods and properties are
// accessed via IDispatch::Invoke. See the class ISimpleActiveFormEventsDisp provided
// below for an easy way to access the methods/properties of this
// interface.
};
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// SmartIntf: TCOMISimpleActiveForm
// Interface: ISimpleActiveForm
// *********************************************************************//
template <class T /* ISimpleActiveForm */ >
class TCOMISimpleActiveFormT : public TComInterface<ISimpleActiveForm>, public TComInterfaceBase<IUnknown>
{
public:
TCOMISimpleActiveFormT() {}
TCOMISimpleActiveFormT(ISimpleActiveForm *intf, bool addRef = false) : TComInterface<ISimpleActiveForm>(intf, addRef) {}
TCOMISimpleActiveFormT(const TCOMISimpleActiveFormT& src) : TComInterface<ISimpleActiveForm>(src) {}
TCOMISimpleActiveFormT& operator=(const TCOMISimpleActiveFormT& src) { Bind(src, true); return *this;}
HRESULT __fastcall get_Visible(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_Visible(void);
HRESULT __fastcall set_Visible(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AutoScroll(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_AutoScroll(void);
HRESULT __fastcall set_AutoScroll(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AutoSize(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_AutoSize(void);
HRESULT __fastcall set_AutoSize(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AxBorderStyle(Simpleactiveformproj1_tlb::TxActiveFormBorderStyle* Value/*[out,retval]*/);
Simpleactiveformproj1_tlb::TxActiveFormBorderStyle __fastcall get_AxBorderStyle(void);
HRESULT __fastcall set_AxBorderStyle(Simpleactiveformproj1_tlb::TxActiveFormBorderStyle Value/*[in]*/);
HRESULT __fastcall get_BorderWidth(long* Value/*[out,retval]*/);
long __fastcall get_BorderWidth(void);
HRESULT __fastcall set_BorderWidth(long Value/*[in]*/);
HRESULT __fastcall get_Caption(BSTR* Value/*[out,retval]*/);
BSTR __fastcall get_Caption(void);
HRESULT __fastcall set_Caption(BSTR Value/*[in]*/);
HRESULT __fastcall get_Color(::OLE_COLOR* Value/*[out,retval]*/);
::OLE_COLOR __fastcall get_Color(void);
HRESULT __fastcall set_Color(::OLE_COLOR Value/*[in]*/);
HRESULT __fastcall get_Font(IFontDisp** Value/*[out,retval]*/);
IFontDisp* __fastcall get_Font(void);
HRESULT __fastcall set_Font(IFontDisp* Value/*[in]*/);
HRESULT __fastcall _set_Font(IFontDisp** Value/*[in]*/);
HRESULT __fastcall get_KeyPreview(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_KeyPreview(void);
HRESULT __fastcall set_KeyPreview(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_PixelsPerInch(long* Value/*[out,retval]*/);
long __fastcall get_PixelsPerInch(void);
HRESULT __fastcall set_PixelsPerInch(long Value/*[in]*/);
HRESULT __fastcall get_PrintScale(Simpleactiveformproj1_tlb::TxPrintScale* Value/*[out,retval]*/);
Simpleactiveformproj1_tlb::TxPrintScale __fastcall get_PrintScale(void);
HRESULT __fastcall set_PrintScale(Simpleactiveformproj1_tlb::TxPrintScale Value/*[in]*/);
HRESULT __fastcall get_Scaled(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_Scaled(void);
HRESULT __fastcall set_Scaled(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_Active(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_Active(void);
HRESULT __fastcall get_DropTarget(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_DropTarget(void);
HRESULT __fastcall set_DropTarget(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_HelpFile(BSTR* Value/*[out,retval]*/);
BSTR __fastcall get_HelpFile(void);
HRESULT __fastcall set_HelpFile(BSTR Value/*[in]*/);
HRESULT __fastcall get_DoubleBuffered(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_DoubleBuffered(void);
HRESULT __fastcall set_DoubleBuffered(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_Enabled(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_Enabled(void);
HRESULT __fastcall set_Enabled(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_Cursor(short* Value/*[out,retval]*/);
short __fastcall get_Cursor(void);
HRESULT __fastcall set_Cursor(short Value/*[in]*/);
__property TOLEBOOL Visible = {read = get_Visible, write = set_Visible};
__property TOLEBOOL AutoScroll = {read = get_AutoScroll, write = set_AutoScroll};
__property TOLEBOOL AutoSize = {read = get_AutoSize, write = set_AutoSize};
__property Simpleactiveformproj1_tlb::TxActiveFormBorderStyle AxBorderStyle = {read = get_AxBorderStyle, write = set_AxBorderStyle};
__property long BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
__property BSTR Caption = {read = get_Caption, write = set_Caption};
__property ::OLE_COLOR Color = {read = get_Color, write = set_Color};
__property IFontDisp* Font = {read = get_Font, write = set_Font};
__property TOLEBOOL KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
__property long PixelsPerInch = {read = get_PixelsPerInch, write = set_PixelsPerInch};
__property Simpleactiveformproj1_tlb::TxPrintScale PrintScale = {read = get_PrintScale, write = set_PrintScale};
__property TOLEBOOL Scaled = {read = get_Scaled, write = set_Scaled};
__property TOLEBOOL Active = {read = get_Active};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -