///////////////////////////////////////////////////////////////////////////////////////// // Miranda NG: the free IM client for Microsoft* Windows* // // Copyright (ñ) 2012-17 Miranda NG project, // Copyright (c) 2000-09 Miranda ICQ/IM project, // all portions of this codebase are copyrighted to the people // listed in contributors.txt. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // you should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // // part of tabSRMM messaging plugin for Miranda. // // (C) 2005-2010 by silvercircle _at_ gmail _dot_ com and contributors // // prototypes from generic_msghandlers.c void TSAPI DM_SetDBButtonStates(HWND hwndChild, TWindowData *dat); HWND TSAPI DM_CreateClist(TWindowData *dat); void TSAPI DM_OptionsApplied(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_UpdateTitle(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_ScrollToBottom(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_LoadLocale(TWindowData *dat); void TSAPI DM_SaveLocale(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_UpdateLastMessage(const TWindowData *dat); LRESULT TSAPI DM_WMCopyHandler(HWND hwnd, WNDPROC oldWndProc, UINT uMsg, WPARAM wParam, LPARAM lParam); LRESULT TSAPI DM_MouseWheelHandler(HWND hwnd, HWND hwndParent, TWindowData *mwdat, WPARAM wParam, LPARAM lParam); LRESULT TSAPI DM_ThemeChanged(TWindowData *dat); void TSAPI DM_Typing(TWindowData *dat, bool fForceOff = false); void TSAPI DM_FreeTheme(TWindowData *dat); void TSAPI DM_NotifyTyping(TWindowData *dat, int mode); int TSAPI DM_SplitterGlobalEvent(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_EventAdded(TWindowData *dat, WPARAM wParam, LPARAM lParam); void TSAPI DM_InitRichEdit(TWindowData *dat); LRESULT TSAPI DM_ContainerCmdHandler(TContainerData *pContainer, UINT cmd, WPARAM wParam, LPARAM lParam); LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *pContainer, TWindowData *dat, UINT cmd, WPARAM wParam, LPARAM lParam); LRESULT TSAPI DM_GenericHotkeysCheck(MSG *message, TWindowData *dat); void TSAPI DM_DismissTip(TWindowData *dat, const POINT& pt); void TSAPI DM_InitTip(TWindowData *dat); void TSAPI DM_HandleAutoSizeRequest(TWindowData *dat, REQRESIZE* rr); void TSAPI DM_SaveLogAsRTF(const TWindowData *dat); void TSAPI DM_CheckAutoHide(const TWindowData *dat, WPARAM wParam, LPARAM lParam); LRESULT __stdcall DM_RecalcPictureSize(TWindowData *dat);