SVC CREATE INFOBAR

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_CREATE_INFOBAR
Create new info bar that popups in the bottom right corner of the screen.


Parameters
wParam
NULL
lParam
LCINFOBAR* bar


Return values

  • API_SUCCESS – bar created successfully
  • API_ERROR – operation failed


Sample code

        LCINFOBAR info  = {0};
	info.cbSize = sizeof(LCINFOBAR);
	info.plugin_name = name();
	info.caption = _T("Sapmle caption");
	info.message = _T("Sample message");
	info.style = MB_OK;
	info.service = _T("OnClickOK");
	info.delay = 3000;

	call(SVC_CREATE_INFOBAR, 0, (LPARAM) &info);
Personal tools