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

📄 toolbarcontrol.tlh

📁 叮叮咚咚 叮叮咚咚 叮叮咚咚
💻 TLH
📖 第 1 页 / 共 2 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (048e481e).
//
// ToolbarControl.tlh
//
// C++ source equivalent of Win32 type library c:/Program Files/ArcGis/bin/ToolbarControl.ocx
// compiler-generated file created 08/02/06 at 09:01:56 - DO NOT EDIT!

//
// Cross-referenced type libraries:
//
//  #import "C:\Program Files\ArcGIS\com\esriSystemUI.olb"
//  #import "C:\Program Files\ArcGIS\com\esriSystem.olb"
//

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct __declspec(uuid("85490941-3a6a-47c4-8e42-7f6997534ddf"))
/* interface */ ICommandPool;
struct __declspec(uuid("d92bcf03-4308-11d6-aa0e-00104bb6fc1c"))
/* interface */ IToolbarItem;
struct __declspec(uuid("e8f2ab83-e93b-4529-82f6-34b8e4544b9e"))
/* interface */ IToolbarMenu;
struct __declspec(uuid("cbb44409-c9b4-400b-be35-446516674392"))
/* interface */ ICommandPoolEdit;
struct __declspec(uuid("b7d4358d-3cbc-11d6-aa09-00104bb6fc1c"))
/* dual interface */ IToolbarControl;
struct __declspec(uuid("d959783f-b033-4a0c-966b-db90fe45bee5"))
/* dispinterface */ IToolbarControlDefault;
struct __declspec(uuid("b7d4358f-3cbc-11d6-aa09-00104bb6fc1c"))
/* dispinterface */ IToolbarControlEvents;
struct __declspec(uuid("cb254751-2ffb-4a2e-9dd5-ffbb58505224"))
/* interface */ IMissingCommand;
struct __declspec(uuid("16f2d139-2810-4241-b495-b7d1539cec64"))
/* interface */ ICustomizeDialog;
struct __declspec(uuid("6f4ba70a-55c1-4061-a29a-f2bd9c6a0b61"))
/* interface */ ICustomizeDialogEvents;
struct __declspec(uuid("d00f1736-7a95-4f5e-b54f-e2863c425dc3"))
/* interface */ IToolbarBuddy;
struct /* coclass */ ToolbarControl;
struct /* coclass */ ToolbarItem;
struct /* coclass */ ToolbarMenu;
struct /* coclass */ CommandPool;
struct /* coclass */ MissingCommand;
struct /* coclass */ CustomizeDialog;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(ICommandPool, __uuidof(ICommandPool));
_COM_SMARTPTR_TYPEDEF(IToolbarItem, __uuidof(IToolbarItem));
_COM_SMARTPTR_TYPEDEF(IToolbarMenu, __uuidof(IToolbarMenu));
_COM_SMARTPTR_TYPEDEF(ICommandPoolEdit, __uuidof(ICommandPoolEdit));
_COM_SMARTPTR_TYPEDEF(IToolbarControl, __uuidof(IToolbarControl));
_COM_SMARTPTR_TYPEDEF(IToolbarControlDefault, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(IToolbarControlEvents, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(IMissingCommand, __uuidof(IMissingCommand));
_COM_SMARTPTR_TYPEDEF(ICustomizeDialog, __uuidof(ICustomizeDialog));
_COM_SMARTPTR_TYPEDEF(ICustomizeDialogEvents, __uuidof(ICustomizeDialogEvents));
_COM_SMARTPTR_TYPEDEF(IToolbarBuddy, __uuidof(IToolbarBuddy));

//
// Type library items
//

struct __declspec(uuid("85490941-3a6a-47c4-8e42-7f6997534ddf"))
ICommandPool : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        long * pVal ) = 0;
    virtual HRESULT __stdcall get_UsageCount (
        struct ICommand * Command,
        long * pVal ) = 0;
    virtual HRESULT __stdcall Exists (
        struct ICommand * Command,
        VARIANT_BOOL * res ) = 0;
    virtual HRESULT __stdcall FindByUID (
        struct IUID * UID,
        struct ICommand * * pCommand ) = 0;
    virtual HRESULT __stdcall get_UID (
        struct ICommand * Command,
        struct IUID * * pVal ) = 0;
    virtual HRESULT __stdcall get_Command (
        long index,
        struct ICommand * * pVal ) = 0;
    virtual HRESULT __stdcall Created (
        struct ICommand * Command,
        VARIANT_BOOL * pVal ) = 0;
};

struct __declspec(uuid("d92bcf03-4308-11d6-aa0e-00104bb6fc1c"))
IToolbarItem : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Command (
        struct ICommand * * ppCommand ) = 0;
    virtual HRESULT __stdcall get_UID (
        struct IUID * * ppUID ) = 0;
    virtual HRESULT __stdcall get_Group (
        VARIANT_BOOL * pVal ) = 0;
    virtual HRESULT __stdcall put_Group (
        VARIANT_BOOL pVal ) = 0;
    virtual HRESULT __stdcall get_GroupSpacing (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_GroupSpacing (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_Style (
        enum esriCommandStyles * pVal ) = 0;
    virtual HRESULT __stdcall put_Style (
        enum esriCommandStyles pVal ) = 0;
    virtual HRESULT __stdcall get_CustomProperty (
        VARIANT * pVal ) = 0;
    virtual HRESULT __stdcall put_CustomProperty (
        VARIANT pVal ) = 0;
    virtual HRESULT __stdcall get_Menu (
        struct IToolbarMenu * * ppToolbarMenu ) = 0;
};

struct __declspec(uuid("e8f2ab83-e93b-4529-82f6-34b8e4544b9e"))
IToolbarMenu : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall PopupMenu (
        int x,
        int y,
        long hWndParent ) = 0;
    virtual HRESULT __stdcall put_Caption (
        BSTR pCaption ) = 0;
    virtual HRESULT __stdcall get_Caption (
        BSTR * pCaption ) = 0;
    virtual HRESULT __stdcall putref_CommandPool (
        struct ICommandPool * ppCommandPool ) = 0;
    virtual HRESULT __stdcall get_CommandPool (
        struct ICommandPool * * ppCommandPool ) = 0;
    virtual HRESULT __stdcall SetHook (
        IDispatch * pHook ) = 0;
    virtual HRESULT __stdcall get_Hook (
        IDispatch * * ppHook ) = 0;
    virtual HRESULT __stdcall get_Bitmap (
        OLE_HANDLE * pVal ) = 0;
    virtual HRESULT __stdcall put_Bitmap (
        OLE_HANDLE pVal ) = 0;
    virtual HRESULT __stdcall GetMenuDef (
        struct IMenuDef * * ppMenuDef ) = 0;
    virtual HRESULT __stdcall AddItem (
        VARIANT CommandOrMenu,
        long subtype,
        long index,
        VARIANT_BOOL beginGroup,
        enum esriCommandStyles Style,
        long * itemIndex ) = 0;
    virtual HRESULT __stdcall AddSubMenu (
        VARIANT Menu,
        long index,
        VARIANT_BOOL beginGroup,
        long * itemIndex ) = 0;
    virtual HRESULT __stdcall Remove (
        long index ) = 0;
    virtual HRESULT __stdcall RemoveAll ( ) = 0;
    virtual HRESULT __stdcall GetItem (
        long index,
        struct IToolbarItem * * item ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * Count ) = 0;
    virtual HRESULT __stdcall Find (
        VARIANT item,
        long * pVal ) = 0;
    virtual HRESULT __stdcall MoveItem (
        long startIndex,
        long finalIndex ) = 0;
};

enum esriToolbarTextAlignment
{
    esriTextAlongSide = 0,
    esriTextBelow = 1
};

struct __declspec(uuid("cbb44409-c9b4-400b-be35-446516674392"))
ICommandPoolEdit : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall AddCommand (
        struct ICommand * Command,
        struct IUID * pUID ) = 0;
    virtual HRESULT __stdcall AddUID (
        struct IUID * UID,
        struct IArray * * pArray ) = 0;
    virtual HRESULT __stdcall Remove (
        struct ICommand * Command ) = 0;
    virtual HRESULT __stdcall RemoveAll ( ) = 0;
    virtual HRESULT __stdcall CallOnCreate (
        struct ICommand * pCommand ) = 0;
    virtual HRESULT __stdcall SetHook (
        IDispatch * pHook ) = 0;
    virtual HRESULT __stdcall get_Hook (
        IDispatch * * newVal ) = 0;
};

struct __declspec(uuid("b7d4358d-3cbc-11d6-aa09-00104bb6fc1c"))
IToolbarControl : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall put_BorderStyle (
        enum esriControlsBorderStyle pstyle ) = 0;
    virtual HRESULT __stdcall get_BorderStyle (
        enum esriControlsBorderStyle * pstyle ) = 0;
    virtual HRESULT __stdcall put_Enabled (
        VARIANT_BOOL pbool ) = 0;
    virtual HRESULT __stdcall get_Enabled (
        VARIANT_BOOL * pbool ) = 0;
    virtual HRESULT __stdcall put_Appearance (
        enum esriControlsAppearance pappearance ) = 0;
    virtual HRESULT __stdcall get_Appearance (
        enum esriControlsAppearance * pappearance ) = 0;
    virtual HRESULT __stdcall put_MousePointer (
        enum esriControlsMousePointer ppointer ) = 0;
    virtual HRESULT __stdcall get_MousePointer (
        enum esriControlsMousePointer * ppointer ) = 0;
    virtual HRESULT __stdcall putref_MouseIcon (
        IPictureDisp * ppMouseIcon ) = 0;
    virtual HRESULT __stdcall get_MouseIcon (
        IPictureDisp * * ppMouseIcon ) = 0;
    virtual HRESULT __stdcall get_hWnd (
        long * hWnd ) = 0;
    virtual HRESULT __stdcall AboutBox ( ) = 0;
    virtual HRESULT __stdcall AddItem (
        VARIANT CommandOrMenu,
        long subtype,
        long index,
        VARIANT_BOOL beginGroup,
        long GroupSpacing,
        enum esriCommandStyles Style,
        long * itemIndex ) = 0;
    virtual HRESULT __stdcall Remove (
        long index ) = 0;
    virtual HRESULT __stdcall RemoveAll ( ) = 0;
    virtual HRESULT __stdcall GetItem (

⌨️ 快捷键说明

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