From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- delphi/Awkward/include/reserve/m_nconvers.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 delphi/Awkward/include/reserve/m_nconvers.inc (limited to 'delphi/Awkward/include/reserve/m_nconvers.inc') diff --git a/delphi/Awkward/include/reserve/m_nconvers.inc b/delphi/Awkward/include/reserve/m_nconvers.inc new file mode 100644 index 0000000..adb9c3c --- /dev/null +++ b/delphi/Awkward/include/reserve/m_nconvers.inc @@ -0,0 +1,23 @@ +{$IFNDEF M_NCONVERS} +{$DEFINE M_NCONVERS} + +// replace smiley tags in a rich edit control... +// wParam = (WPARAM) 0; not used +// lParam = (LPARAM) (NCONVERS_GETICON*) &ncgi; +// return: TRUE if found, FALSE if not + +typ + PNCONVERS_GETICON = ^NCONVERS_GETICON; + NCONVERS_GETICON = record + cbSize :int; // = sizeof(NCONVERS_GETSMILEY) + Protocolname :PAnsiChar; // NULL means 'default' + SmileySequence:PAnsiChar; // character string containing the smiley + SmileyIcon :HICON; // RETURN VALUE: this is filled with the icon handle... + // do not destroy! + Smileylength :int; // length of the smiley that is found. + end; + +const + MS_NCONVERS_GETSMILEYICON = 'nConvers/GetSmileyIcon'; + +{$ENDIF} -- cgit v1.2.3