From 5e49edfe66308d79bd8095acb1c89d0e987c7aa4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Sep 2016 16:51:39 +0000 Subject: Clist_GetImageList() git-svn-id: http://svn.miranda-ng.org/main/trunk@17266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_api.pas | 2 +- include/delphi/m_clist.inc | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'include/delphi') diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas index f51f6e2ddd..e7a5a82b91 100644 --- a/include/delphi/m_api.pas +++ b/include/delphi/m_api.pas @@ -42,7 +42,7 @@ interface {$ENDIF} uses - Windows,Messages;//, FreeImage; + Windows,CommCtrl,Messages;//, FreeImage; // often used const diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc index 13b5a08cda..ea4ce13e31 100644 --- a/include/delphi/m_clist.inc +++ b/include/delphi/m_clist.inc @@ -116,16 +116,11 @@ const CLEF_PROTOCOLGLOBAL = 8; // set event globally for protocol, hContact has to // be NULL, lpszProtocol the protocol ID name to be set - { - wParam : 0 - lParam : 0 - Affect : Get the image list handle with all the useful icons in it - Version: v0.1.1.0+ - } - MS_CLIST_GETICONSIMAGELIST:PAnsiChar = 'CList/GetIconsImageList'; IMAGE_GROUPOPEN = 11; IMAGE_GROUPSHUT = 12; + function Clist_GetImageList : HIMAGELIST; stdcall; external AppDll; + { wParam : TMCONTACT lParam : ICON_ID @@ -133,6 +128,7 @@ const ICON_ID is an index to what image has changed Version: v0.1.2.1+ } +const ME_CLIST_CONTACTICONCHANGED:PAnsiChar = 'CList/ContactIconChanged'; //******************************* CLUI only ********************************* -- cgit v1.2.3