SVC MESSAGEBOX
From LIVECHAT Developer Zone Wiki
- SVC_MESSAGEBOX
- Create a messagebox dialog.
- Parameters
- wParam
- NULL
- lParam
- LCMSGBOX* box
Return values
- API_SUCCESS – box created successfully
- API_ERROR – operation failed
Sample code
LCMSGBOX msg = {0};
msg.cbSize = sizeof(LCMSGBOX);
msg.plugin_name = name();
msg.caption = _T("Sample caption");
msg.message = _T("Sample mesage");
msg.style = MB_YESNO;
int ret = 0;
msg.retcode = &ret;
gPlugin.call(SVC_MESSAGEBOX, 0, (LPARAM) &msg);
if (ret == IDYES)
{
}
