SVC CREATE TOOLBAR

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_CREATE_TOOLBAR (deprecated)
Create new toolbar in the main application window.


Comment

Service deprecated since ver. 5.5.2.0. Toolbar items are added to the add-ons tab in main window ribbonbar.


Parameters
wParam
NULL
lParam
LCTOOLBAR* toolbar


Return values

  • API_SUCCESS – toolbar created successfully
  • API_ERROR – operation failed or toolbar with specified id already exists


Sample code

	LCTOOLBAR toolbar = {0};
	toolbar.cbSize = sizeof(LCTOOLBAR);
	toolbar.plugin_name = name();
	toolbar.id = 1000;
	toolbar.name = _T("Sample toolbar");
	
	call(SVC_CREATE_TOOLBAR, 0, (LPARAM) &toolbar);
Personal tools