ItemContext
From LIVECHAT Developer Zone Wiki
Used as a context carrier.
typedef struct ItemContext{
int cbSize;
POINT point;
LPCTSTR client_id;
LONG_PTR data;
UINT window_id;
} ItemContext;
- Members
- cbSize
- size of the ItemContext structure
- point
- position of the mouse cursor when the button was pressed
- client_id
- default client identifier when the action has been taken; e.g. chat window is the interlocutor id
- data
- it could be chat content, written text in the message panel in the chat window
- window
- identifier of the chat window, where the action was performed; could be 0, if the action took place in main window
