diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-05 17:37:59 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-05 17:37:59 +0000 |
commit | 3478926e3d060e227b08381925ee9bd307fd63e3 (patch) | |
tree | d557dd8604037320dbc9da54483e689aa7ce3b95 /plugins/TabSRMM/src/include | |
parent | 0233716a1aeab439b0195408a76285fd2ecbbe93 (diff) |
added close other tabs menu item (thx $ergi0)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/include')
-rw-r--r-- | plugins/TabSRMM/src/include/functions.h | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/include/msgs.h | 1 | ||||
-rw-r--r-- | plugins/TabSRMM/src/include/resource.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/include/functions.h b/plugins/TabSRMM/src/include/functions.h index 4efdc9662e..8d3dabb7ba 100644 --- a/plugins/TabSRMM/src/include/functions.h +++ b/plugins/TabSRMM/src/include/functions.h @@ -88,7 +88,9 @@ TContainerData* TSAPI CreateContainer(const TCHAR *name, int iTemp, HANDLE hCont TContainerData* TSAPI FindContainerByName(const TCHAR *name);
int TSAPI GetTabIndexFromHWND(HWND hwndTab, HWND hwnd);
+HWND TSAPI GetHWNDFromTabIndex(HWND hwndTab, int idx);
int TSAPI GetTabItemFromMouse(HWND hwndTab, POINT *pt);
+void TSAPI CloseOtherTabs(HWND hwndTab, TWindowData &dat);
int TSAPI ActivateTabFromHWND(HWND hwndTab, HWND hwnd);
void TSAPI AdjustTabClientRect(TContainerData *pContainer, RECT *rc);
void TSAPI ReflashContainer(TContainerData *pContainer);
diff --git a/plugins/TabSRMM/src/include/msgs.h b/plugins/TabSRMM/src/include/msgs.h index fe24199adb..3e95b494c0 100644 --- a/plugins/TabSRMM/src/include/msgs.h +++ b/plugins/TabSRMM/src/include/msgs.h @@ -1016,6 +1016,7 @@ typedef struct { #define TABSRMM_HK_FILTERTOGGLE 29
#define TABSRMM_HK_LISTTOGGLE 30
#define TABSRMM_HK_MUC_SHOWSERVER 31
+#define TABSRMM_HK_CLOSE_OTHER 32
#define TABSRMM_HK_SECTION_IM LPGEN("Message windows - IM")
#define TABSRMM_HK_SECTION_GENERIC LPGEN("Message windows - all")
diff --git a/plugins/TabSRMM/src/include/resource.h b/plugins/TabSRMM/src/include/resource.h index 25f9547d0f..d92c793c35 100644 --- a/plugins/TabSRMM/src/include/resource.h +++ b/plugins/TabSRMM/src/include/resource.h @@ -628,6 +628,7 @@ #define ID_TABCONTEXT_PREVTAB 40029
#define ID_CLOSETAB 40030
#define ID_TABMENU_CLOSETAB 40031
+#define ID_TABMENU_CLOSEOTHERTABS 40032
#define ID_TABMENU_SAVELOCALESETTINGFORTHISCONTACT 40034
#define ID_TABMENU_OPENWINDOWSERVICE 40035
#define ID_TABMENU_ATTACHTOCONTAINER 40036
@@ -658,6 +659,7 @@ #define ID_FILE_CLOSEMESSAGESESSION 40086
#define ID_VIEW_SHOWMULTISENDCONTACTLIST 40087
#define ID_VIEW_TITLEBAR 40088
+#define ID_FILE_CLOSEOTHERMSGSESSIONS 40090
#define ID_VIEW_TABSATBOTTOM 40093
#define ID_VIEW_STAYONTOP 40095
#define ID_HELP 40096
|