diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-23 20:53:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-23 20:53:10 +0300 |
commit | 7d191d7bf8dc09f8484a05d898c8d0971beaa10b (patch) | |
tree | 092c30dcae45a5a5069bacab35ac182bbe92dc5e /plugins/Scriver/src/msgs.h | |
parent | deca42d417dbe5b143c046c6bad8a7ba92fb2e01 (diff) |
Scriver: window procedure virtualization
Diffstat (limited to 'plugins/Scriver/src/msgs.h')
-rw-r--r-- | plugins/Scriver/src/msgs.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h index a160e2c654..7cad122c1f 100644 --- a/plugins/Scriver/src/msgs.h +++ b/plugins/Scriver/src/msgs.h @@ -87,9 +87,12 @@ struct ParentWindowData class CScriverWindow : public CSrmmBaseDialog
{
+
protected:
CScriverWindow(int iDialog, SESSION_INFO* = nullptr);
+ int InputAreaShortcuts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
+
public:
virtual void CloseTab() override;
virtual void LoadSettings() override;
@@ -105,7 +108,10 @@ class CSrmmWindow : public CScriverWindow CCtrlEdit m_log, m_message;
CCtrlButton m_btnOk, m_btnAdd, m_btnUserMenu, m_btnQuote, m_btnDetails;
CSplitter m_splitter;
-
+
+ virtual LRESULT WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam);
+ virtual LRESULT WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam);
+
wchar_t *m_wszInitialText;
bool m_bIncoming, m_bShowTyping;
@@ -182,14 +188,17 @@ class CChatRoomDlg : public CScriverWindow CSplitter m_splitterX, m_splitterY;
void MessageDialogResize(int w, int h);
+ void TabAutoComplete(void);
+
+ virtual LRESULT WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam) override;
+ virtual LRESULT WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) override;
+ virtual LRESULT WndProc_Nicklist(UINT msg, WPARAM wParam, LPARAM lParam) override;
- static LRESULT CALLBACK MessageSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
- static LRESULT CALLBACK LogSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
- static LRESULT CALLBACK NicklistSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK FilterWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-public:
wchar_t m_wszSearch[255];
+ wchar_t *m_wszSearchQuery, *m_wszSearchResult;
+ SESSION_INFO *m_pLastSession;
public:
CChatRoomDlg(SESSION_INFO *si);
|