From 6a1d466d31fd9c3b29b6ee8fa9bebe5fa0c08f6d Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 15 Jul 2008 05:23:02 +0000 Subject: another tip from Drugwash - remove SendMessageW calls git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@425 4f64403b-2f21-0410-a795-97e2b3489a10 --- meta2/select_meta.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta2/select_meta.cpp') diff --git a/meta2/select_meta.cpp b/meta2/select_meta.cpp index 0e71cb1..8e8dcd6 100644 --- a/meta2/select_meta.cpp +++ b/meta2/select_meta.cpp @@ -23,10 +23,10 @@ void FillList(HWND list, bool sort) int j; TCHAR buff[1024]; for(j = 0; j < count; j++) { - SendMessageW(list, LB_GETTEXT, j, (LPARAM)buff); + SendMessage(list, LB_GETTEXT, j, (LPARAM)buff); if(_tcscmp(buff, szCDN) > 0) break; } - index = SendMessageW(list, LB_INSERTSTRING, (WPARAM)j, (LPARAM)szCDN); + index = SendMessage(list, LB_INSERTSTRING, (WPARAM)j, (LPARAM)szCDN); } else index = SendMessage(list, LB_INSERTSTRING, (WPARAM)-1, (LPARAM)szCDN); SendMessage(list, LB_SETITEMDATA, (WPARAM)index, (LPARAM)hContact); -- cgit v1.2.3