diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-10-03 11:42:41 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-10-03 11:42:45 +0300 |
| commit | 4cd0aa5643498a9be9a2fc3ed6e1a88807d4dc8f (patch) | |
| tree | ff4f239fbab80be1048bfbeaed5ad16562c3dff0 /plugins/ExternalAPI | |
| parent | 673577296fc06f446946d5f651bb33547399e25c (diff) | |
MS_SMILEYADD_SELECTSMILEY - new service for custom smiley selector
Diffstat (limited to 'plugins/ExternalAPI')
| -rw-r--r-- | plugins/ExternalAPI/m_smileyadd.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_smileyadd.h b/plugins/ExternalAPI/m_smileyadd.h index 636dda0bcd..cfb46fb509 100644 --- a/plugins/ExternalAPI/m_smileyadd.h +++ b/plugins/ExternalAPI/m_smileyadd.h @@ -67,6 +67,7 @@ struct SMADD_INFO int NumberOfSmileys; // Number of total smileys defined
};
+#define MS_SMILEYADD_GETINFO "SmileyAdd/GetInfo"
#define MS_SMILEYADD_GETINFO2 "SmileyAdd/GetInfo2"
/////////////////////////////////////////////////////////////////////////////////////////
@@ -216,3 +217,22 @@ struct SMADD_CONT };
#define MS_SMILEYADD_LOADCONTACTSMILEYS "SmileyAdd/LoadContactSmileys"
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Displays SmileyTool window to choose a smiley
+// wParam = (WPARAM) 0; not used
+// lParam = (LPARAM) (SMADD_SELECTSMILEY*) ¶m;
+
+struct SMADD_SELECTSMILEY
+{
+ const char *pszSmileys; // list of smileys or zero to display all pack
+ int xPosition;
+ int yPosition;
+ int direction;
+ HWND hWndTarget;
+ HWND hWndParent;
+ UINT targetMessage;
+ WPARAM targetWParam;
+};
+
+#define MS_SMILEYADD_SELECTSMILEY "SmileyAdd/SelectSmiley"
|
