summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcmsgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-08 11:38:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-08 11:38:15 +0000
commitc4c02e49eddd09393cafb55513f5067b5810c1c9 (patch)
tree523ef5e67843a69da8e631b63fc3f9f48812a0e6 /plugins/Clist_nicer/src/clcmsgs.cpp
parentf0c76b4878c08404b54ed8b5cc6f43b9da63769b (diff)
old ugly floating contacts removed from clist_nicer, the FloatingContacts plugin should be used instead from now on
git-svn-id: http://svn.miranda-ng.org/main/trunk@3919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcmsgs.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcmsgs.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/plugins/Clist_nicer/src/clcmsgs.cpp b/plugins/Clist_nicer/src/clcmsgs.cpp
index ddfefc3c64..7ea189e04c 100644
--- a/plugins/Clist_nicer/src/clcmsgs.cpp
+++ b/plugins/Clist_nicer/src/clcmsgs.cpp
@@ -96,37 +96,6 @@ LRESULT ProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM
}
return 0;
- case CLM_TOGGLEFLOATINGCONTACT:
- if (wParam) {
- ClcContact *contact = NULL;
- if ( !FindItem(hwnd, dat, (HANDLE)wParam, &contact, NULL, NULL))
- return 0;
- if (contact->type != CLCIT_CONTACT)
- return 0;
-
- int iEntry = contact->extraCacheEntry;
-
- if (iEntry >= 0 && iEntry <= cfg::nextCacheEntry) {
- BYTE state = !cfg::getByte(contact->hContact, "CList", "floating", 0);
- if (state) {
- if (cfg::eCache[iEntry].floater == NULL)
- FLT_Create(iEntry);
- ShowWindow(cfg::eCache[contact->extraCacheEntry].floater->hwnd, SW_SHOW);
- }
- else {
- if (cfg::eCache[iEntry].floater && cfg::eCache[iEntry].floater->hwnd) {
- DestroyWindow(cfg::eCache[iEntry].floater->hwnd);
- cfg::eCache[iEntry].floater = 0;
- }
- }
- cfg::writeByte(contact->hContact, "CList", "floating", state);
- }
- }
- return 0;
-
- case CLM_QUERYFLOATINGCONTACT:
- return cfg::getByte((HANDLE)wParam, "CList", "floating", 0);
-
case CLM_SETFONT:
if (HIWORD(lParam)<0 || HIWORD(lParam)>FONTID_LAST)
return 0;