LCPREFERENCESITEM

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search

Used to add preferences item such as title, subtitle, edit boxes and others.

typedef struct LCPREFERENCESITEM{
	int		cbSize;
	LPCTSTR		plugin_name;
	UINT		page_id;
	UINT		id;
	LPCTSTR		caption;
	ControlType	type;
	HICON		icon;
	DWORD		style;
	LPCTSTR		service;
} LCPREFERENCESITEM;
Members
cbSize
size of the LCPREFERENCESITEMstructure
plugin_name
name of the plugin
page_id
identifier of the preferences page, item will be added to
id
unique identifier of the item
caption
item caption
type
preferences control type
icon
item icon
style
if type is PREFERENCES_TITLE it holds PreferencesTitleStyle, if type is PREFERENCES_RADIO it contains number of radio buttons
service
string that is connected with a function in plugin
See also
Personal tools