LCTOOLBARITEM

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search

Used as an item to add to a toolbar.

typedef struct LCTOOLBARITEM{
	int			cbSize;
	LPCTSTR			plugin_name;
	UINT			toolbar_id;
	UINT			id;
	LPCTSTR			caption;	
	DWORD			flags;
	int			position;
	HICON			icon;
	LPCTSTR			tooltip;
	HMENU			menu;
	LPCTSTR			service;
} LCTOOLBARITEM;


Members
cbSize
size of the LCTOOLBARITEM structure
plugin_name
name of the plugin
toolbar_id
unique identifier of the plugin’s toolbar
id
unique identifier of the item
flags
position
position of the item in toolbar
icon
item icon
tooltip
tooltip text
menu
optional, menu that can be shown as an action when the item has been pressed
service
string that is connected with a function in plugin
Personal tools