📄 toolbarcontrol.tlh
字号:
long index,
struct IToolbarItem * * item ) = 0;
virtual HRESULT __stdcall get_Count (
long * Count ) = 0;
virtual HRESULT __stdcall Update (
long index,
VARIANT_BOOL fullUpdate ) = 0;
virtual HRESULT __stdcall get_Buddy (
IDispatch * * pVal ) = 0;
virtual HRESULT __stdcall get_CurrentTool (
struct ITool * * pVal ) = 0;
virtual HRESULT __stdcall putref_CurrentTool (
struct ITool * pVal ) = 0;
virtual HRESULT __stdcall get_ToolTips (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_ToolTips (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall get_ItemAppearance (
enum esriControlsAppearance * pappearance ) = 0;
virtual HRESULT __stdcall put_ItemAppearance (
enum esriControlsAppearance pappearance ) = 0;
virtual HRESULT __stdcall get_UpdateInterval (
long * pVal ) = 0;
virtual HRESULT __stdcall put_UpdateInterval (
long pVal ) = 0;
virtual HRESULT __stdcall Find (
VARIANT CommandOrMenu,
long * pVal ) = 0;
virtual HRESULT __stdcall get_CommandPool (
struct ICommandPool * * pVal ) = 0;
virtual HRESULT __stdcall putref_CommandPool (
struct ICommandPool * pVal ) = 0;
virtual HRESULT __stdcall AddToolbarDef (
VARIANT ToolbarDef,
long startIndex,
VARIANT_BOOL Group,
long GroupSpacing,
enum esriCommandStyles Style,
long * Count ) = 0;
virtual HRESULT __stdcall get_TextAlignment (
enum esriToolbarTextAlignment * pVal ) = 0;
virtual HRESULT __stdcall put_TextAlignment (
enum esriToolbarTextAlignment pVal ) = 0;
virtual HRESULT __stdcall get_LargeIcons (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_LargeIcons (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall get_Customize (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_Customize (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall MoveItem (
long startIndex,
long finalIndex ) = 0;
virtual HRESULT __stdcall HitTest (
long x,
long y,
VARIANT_BOOL nearest,
long * index ) = 0;
virtual HRESULT __stdcall GetItemRect (
long index,
long * Top,
long * Left,
long * Bottom,
long * Right ) = 0;
virtual HRESULT __stdcall get_OperationStack (
struct IOperationStack * * OperationStack ) = 0;
virtual HRESULT __stdcall putref_OperationStack (
struct IOperationStack * OperationStack ) = 0;
virtual HRESULT __stdcall get_CustomProperty (
VARIANT * pVal ) = 0;
virtual HRESULT __stdcall put_CustomProperty (
VARIANT pVal ) = 0;
virtual HRESULT __stdcall SetBuddyControl (
IDispatch * pToolbarBuddy ) = 0;
virtual HRESULT __stdcall get_MenuTracking (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_MenuTracking (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall AddMenuItem (
VARIANT Menu,
long index,
VARIANT_BOOL beginGroup,
long GroupSpacing,
long * itemIndex ) = 0;
virtual HRESULT __stdcall get_Object (
IDispatch * * ppDispatch ) = 0;
virtual HRESULT __stdcall get_KeyIntercept (
long * pVal ) = 0;
virtual HRESULT __stdcall put_KeyIntercept (
long pVal ) = 0;
};
struct __declspec(uuid("d959783f-b033-4a0c-966b-db90fe45bee5"))
IToolbarControlDefault : IDispatch
{};
struct __declspec(uuid("b7d4358f-3cbc-11d6-aa09-00104bb6fc1c"))
IToolbarControlEvents : IDispatch
{};
struct __declspec(uuid("cb254751-2ffb-4a2e-9dd5-ffbb58505224"))
IMissingCommand : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetErrorMessage (
BSTR clickMessage,
BSTR tooltipMessage ) = 0;
};
struct __declspec(uuid("16f2d139-2810-4241-b495-b7d1539cec64"))
ICustomizeDialog : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall StartDialog (
long hWndParent ) = 0;
virtual HRESULT __stdcall get_CommandsCategory (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_CommandsCategory (
BSTR pVal ) = 0;
virtual HRESULT __stdcall get_ToolbarsCategory (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_ToolbarsCategory (
BSTR pVal ) = 0;
virtual HRESULT __stdcall CloseDialog ( ) = 0;
virtual HRESULT __stdcall get_IsDialogActive (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall get_DialogTitle (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_DialogTitle (
BSTR pVal ) = 0;
virtual HRESULT __stdcall get_DoubleClickDestination (
IUnknown * * pVal ) = 0;
virtual HRESULT __stdcall SetDoubleClickDestination (
IUnknown * pToolbarControl ) = 0;
virtual HRESULT __stdcall get_ShowAddFromFile (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_ShowAddFromFile (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall get_MenusCategory (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_MenusCategory (
BSTR pVal ) = 0;
};
struct __declspec(uuid("6f4ba70a-55c1-4061-a29a-f2bd9c6a0b61"))
ICustomizeDialogEvents : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall OnStartDialog ( ) = 0;
virtual HRESULT __stdcall OnCloseDialog ( ) = 0;
};
struct __declspec(uuid("d00f1736-7a95-4f5e-b54f-e2863c425dc3"))
IToolbarBuddy : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_CurrentTool (
struct ITool * * pTool ) = 0;
virtual HRESULT __stdcall putref_CurrentTool (
struct ITool * pTool ) = 0;
};
struct __declspec(uuid("b7d4358e-3cbc-11d6-aa09-00104bb6fc1c"))
ToolbarControl;
// [ default ] dispinterface IToolbarControlDefault
// [ default, source ] dispinterface IToolbarControlEvents
// interface IToolbarControl
// interface IConnectionPointContainer
// interface IPersistStreamInit
// interface IPersist
// interface ISupportErrorInfo
struct __declspec(uuid("55ad5857-c8f2-4432-a8aa-6d03a085a599"))
ToolbarItem;
// [ default ] interface IUnknown
// interface IToolbarItem
// interface ISupportErrorInfo
struct __declspec(uuid("ef2dda18-06b9-4ef8-9808-2a4723b4b532"))
ToolbarMenu;
// [ default ] interface IUnknown
// interface IToolbarMenu
// interface ISupportErrorInfo
struct __declspec(uuid("3ab8adf3-5023-4a51-b916-895f0a9c0ef4"))
CommandPool;
// [ default ] interface IUnknown
// interface ICommandPool
// interface ICommandPoolEdit
// interface ISupportErrorInfo
struct __declspec(uuid("77007cb1-0f8a-49ef-91e5-54f640cee7c2"))
MissingCommand;
// [ default ] interface IUnknown
// interface IMissingCommand
// interface ICommand
struct __declspec(uuid("a96a3c9b-0c95-4651-b121-fede95dce3e5"))
CustomizeDialog;
// [ default ] interface IUnknown
// [ default, source ] interface ICustomizeDialogEvents
// interface ICustomizeDialog
// interface ISupportErrorInfo
// interface IConnectionPointContainer
//
// Named GUID constants initializations
//
extern "C" const GUID __declspec(selectany) LIBID_esriToolbarControl =
{0xb7d43581,0x3cbc,0x11d6,{0xaa,0x09,0x00,0x10,0x4b,0xb6,0xfc,0x1c}};
extern "C" const GUID __declspec(selectany) IID_ICommandPool =
{0x85490941,0x3a6a,0x47c4,{0x8e,0x42,0x7f,0x69,0x97,0x53,0x4d,0xdf}};
extern "C" const GUID __declspec(selectany) IID_IToolbarItem =
{0xd92bcf03,0x4308,0x11d6,{0xaa,0x0e,0x00,0x10,0x4b,0xb6,0xfc,0x1c}};
extern "C" const GUID __declspec(selectany) IID_IToolbarMenu =
{0xe8f2ab83,0xe93b,0x4529,{0x82,0xf6,0x34,0xb8,0xe4,0x54,0x4b,0x9e}};
extern "C" const GUID __declspec(selectany) IID_ICommandPoolEdit =
{0xcbb44409,0xc9b4,0x400b,{0xbe,0x35,0x44,0x65,0x16,0x67,0x43,0x92}};
extern "C" const GUID __declspec(selectany) IID_IToolbarControl =
{0xb7d4358d,0x3cbc,0x11d6,{0xaa,0x09,0x00,0x10,0x4b,0xb6,0xfc,0x1c}};
extern "C" const GUID __declspec(selectany) DIID_IToolbarControlDefault =
{0xd959783f,0xb033,0x4a0c,{0x96,0x6b,0xdb,0x90,0xfe,0x45,0xbe,0xe5}};
extern "C" const GUID __declspec(selectany) DIID_IToolbarControlEvents =
{0xb7d4358f,0x3cbc,0x11d6,{0xaa,0x09,0x00,0x10,0x4b,0xb6,0xfc,0x1c}};
extern "C" const GUID __declspec(selectany) IID_IMissingCommand =
{0xcb254751,0x2ffb,0x4a2e,{0x9d,0xd5,0xff,0xbb,0x58,0x50,0x52,0x24}};
extern "C" const GUID __declspec(selectany) IID_ICustomizeDialog =
{0x16f2d139,0x2810,0x4241,{0xb4,0x95,0xb7,0xd1,0x53,0x9c,0xec,0x64}};
extern "C" const GUID __declspec(selectany) IID_ICustomizeDialogEvents =
{0x6f4ba70a,0x55c1,0x4061,{0xa2,0x9a,0xf2,0xbd,0x9c,0x6a,0x0b,0x61}};
extern "C" const GUID __declspec(selectany) IID_IToolbarBuddy =
{0xd00f1736,0x7a95,0x4f5e,{0xb5,0x4f,0xe2,0x86,0x3c,0x42,0x5d,0xc3}};
extern "C" const GUID __declspec(selectany) CLSID_ToolbarControl =
{0xb7d4358e,0x3cbc,0x11d6,{0xaa,0x09,0x00,0x10,0x4b,0xb6,0xfc,0x1c}};
extern "C" const GUID __declspec(selectany) CLSID_ToolbarItem =
{0x55ad5857,0xc8f2,0x4432,{0xa8,0xaa,0x6d,0x03,0xa0,0x85,0xa5,0x99}};
extern "C" const GUID __declspec(selectany) CLSID_ToolbarMenu =
{0xef2dda18,0x06b9,0x4ef8,{0x98,0x08,0x2a,0x47,0x23,0xb4,0xb5,0x32}};
extern "C" const GUID __declspec(selectany) CLSID_CommandPool =
{0x3ab8adf3,0x5023,0x4a51,{0xb9,0x16,0x89,0x5f,0x0a,0x9c,0x0e,0xf4}};
extern "C" const GUID __declspec(selectany) CLSID_MissingCommand =
{0x77007cb1,0x0f8a,0x49ef,{0x91,0xe5,0x54,0xf6,0x40,0xce,0xe7,0xc2}};
extern "C" const GUID __declspec(selectany) CLSID_CustomizeDialog =
{0xa96a3c9b,0x0c95,0x4651,{0xb1,0x21,0xfe,0xde,0x95,0xdc,0xe3,0xe5}};
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -