From fb4c9332fab88aebe97040470b930bbebc8855d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 18 Jan 2014 19:01:16 +0000 Subject: fix for ctrl+up in Scriver git-svn-id: http://svn.miranda-ng.org/main/trunk@7737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/chat/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp index ea43bb764c..b283bbec90 100644 --- a/plugins/Scriver/src/chat/main.cpp +++ b/plugins/Scriver/src/chat/main.cpp @@ -53,6 +53,11 @@ static void OnAddLog(SESSION_INFO *si, int isOk) SendMessage(si->hWnd, GC_REDRAWLOG2, 0, 0); } +static void OnCreateSession(SESSION_INFO *si, MODULEINFO*) +{ + si->windowData.flags = CWDF_RTF_INPUT; +} + static void OnSessionDblClick(SESSION_INFO *si) { PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0); @@ -171,6 +176,7 @@ int Chat_Load() pci->OnAddLog = OnAddLog; + pci->OnCreateSession = OnCreateSession; pci->OnSessionRemove = OnSessionRemove; pci->OnSessionRename = OnSessionRename; pci->OnSessionReplace = OnSessionReplace; -- cgit v1.2.3