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

📄 bcfbasiccontrol.odl

📁 用VC开发ACTIVEX 一书 实例3 BCFBasicControl
💻 ODL
字号:
//=--------------------------------------------------------------------------=
// BCFBasicControl.ODL
//=--------------------------------------------------------------------------=
// Copyright  1995  Microsoft Corporation.  All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// ODL file for the control(s) and automation object(s) in this inproc server
//
#include <olectl.h>
#include "dispids.h"

// can't include oaidl.h, so this will have to do
//
#define DISPID_NEWENUM -4


//=--------------------------------------------------------------------------=
// the libid for this type libray
//
[
    uuid(a2806480-3e6e-11d0-bebe-00400538977d),
    helpstring("BCFBasicControl Control Library"),
    lcid(0x0000),
    version(1.0)
]
library BCFBasicControlObjects {

    // standard imports
    //
    importlib("STDOLE32.TLB");
    importlib(STDTYPE_TLB);

    // primary dispatch interface for CBCFBasicControl control
    //
    [
        uuid(a3a5c880-3e6e-11d0-bebe-00400538977d),
	helpstring("BCFBasicControl Control"),
        hidden,
	dual,
	odl
    ]
    interface IBCFBasicControl : IDispatch {

        // properties
	//

        // methods
	//
        [id(DISPID_ABOUTBOX)]
            void AboutBox(void);
    };

    // event interface for CBCFBasicControl controls ...
    //
    [
        uuid(a4d76600-3e6e-11d0-bebe-00400538977d),
	helpstring("Event interface for BCFBasicControl control"),
	hidden
    ]
    dispinterface DBCFBasicControlEvents {
        properties:
	methods:
    };

    // coclass for CBCFBasicControl controls
    //
    [
        uuid(a6090380-3e6e-11d0-bebe-00400538977d),
	helpstring("BCFBasicControl control")
    ]
    coclass BCFBasicControl {
        [default]         interface IBCFBasicControl;
	[default, source] dispinterface DBCFBasicControlEvents;
    };
};



⌨️ 快捷键说明

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