From c1cb7d69096ff2b3fbd20d1ceeb29fefb0a5bc4a Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Mon, 16 May 2011 20:27:44 +0000 Subject: useactions: added patch from NightFox git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@116 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- useactions/res/UseActions.rc | 60 +++++++++++++++++++++++--------------------- useactions/res/resource.h | 3 +++ useactions/res/version.h | 10 +++++--- 3 files changed, 42 insertions(+), 31 deletions(-) (limited to 'useactions/res') diff --git a/useactions/res/UseActions.rc b/useactions/res/UseActions.rc index 849825f..fd2de9e 100644 --- a/useactions/res/UseActions.rc +++ b/useactions/res/UseActions.rc @@ -18,6 +18,7 @@ #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) #ifdef _WIN32 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#pragma code_page(1251) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// @@ -25,42 +26,45 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // Dialog // -IDD_OPTIONS DIALOGEX 0, 0, 312, 232 +IDD_OPTIONS DIALOGEX 0, 0, 308, 233 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN - GROUPBOX "The way actions could be called",IDC_GB,7,2,297,226 - CONTROL "",IDC_ACTIONSLIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,15,12,115,210 + GROUPBOX "The way actions could be called",IDC_GB,6,2,297,226 + CONTROL "",IDC_ACTIONSLIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,12,12,118,210 CONTROL "CList_Modern",IDC_CHBMTBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,19,76,8 - CONTROL "Core Hotkey",IDC_CHBHOTKEY,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,208,146,8 - CONTROL "Enable",IDC_CHBMMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,54,50,8 - CONTROL "Enable",IDC_CHBCMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,106,50,8 + CONTROL "Core Hotkey",IDC_CHBHOTKEY,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,214,146,8 + CONTROL "Enable",IDC_CHBMMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,49,65,8 + CONTROL "Enable",IDC_CHBCMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,118,65,8 CONTROL "TopToolBar",IDC_CHBTTBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,28,68,8 - EDITTEXT IDC_EDMMENUPN,218,60,78,12,ES_AUTOHSCROLL | WS_GROUP - EDITTEXT IDC_EDCMENUPN,218,112,78,12,ES_AUTOHSCROLL | WS_GROUP - RTEXT "Root popup:",IDC_STMMIROOTPOPN,150,62,65,8 - RTEXT "Root popup:",IDC_STCMIROOTPOPN,150,114,65,8 - CONTROL "show only if variables return 1",IDC_CHBCMVARS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_GROUP | WS_TABSTOP,162,142,134,8 - EDITTEXT IDC_EDCMENUVARSTR,162,151,120,12,ES_AUTOHSCROLL | WS_GROUP - CONTROL "",IDC_BTCMSVARSHELP,"MButtonClass",WS_TABSTOP,282,151,14,12 + EDITTEXT IDC_EDMMENUPN,218,56,78,12,ES_AUTOHSCROLL | WS_GROUP + EDITTEXT IDC_EDCMENUPN,218,125,78,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Root popup:",IDC_STMMIROOTPOPN,132,58,83,8 + RTEXT "Root popup:",IDC_STCMIROOTPOPN,132,127,83,8 + CONTROL "show only if variables return 1",IDC_CHBCMVARS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_GROUP | WS_TABSTOP,162,152,134,8 + EDITTEXT IDC_EDCMENUVARSTR,162,161,120,12,ES_AUTOHSCROLL | WS_GROUP + CONTROL "",IDC_BTCMSVARSHELP,"MButtonClass",WS_TABSTOP,282,161,14,12 LTEXT "Toolbar buttons",IDC_STTOOLBAR,140,10,145,8 - LTEXT "Main menu item",IDC_STMMI,140,44,156,8 - LTEXT "Contact menu item",IDC_STCMI,140,96,156,8 - LTEXT "Other",IDC_STOTHER,140,199,156,8 - LTEXT "Tray menu item",IDC_STTMI,140,169,156,8 - EDITTEXT IDC_EDTMENUPN,220,185,76,12,ES_AUTOHSCROLL | WS_GROUP - CONTROL "Enable",IDC_CHBTMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,178,50,8 - RTEXT "Root popup:",IDC_STTMIROOTPOPN,150,187,65,8 - EDITTEXT IDC_EDMMENUN,218,73,63,12,ES_AUTOHSCROLL | WS_GROUP - RTEXT "Name through vars:",IDC_STMMIVARNAME,150,75,65,8 - CONTROL "",IDC_BTMMNVARSHELP,"MButtonClass",WS_TABSTOP,282,73,14,12 - EDITTEXT IDC_EDCMENUN,218,125,63,12,ES_AUTOHSCROLL | WS_GROUP - RTEXT "Name through vars:",IDC_STCMIVARNAME,150,127,65,8 - CONTROL "",IDC_BTCMNVARSHELP,"MButtonClass",WS_TABSTOP,282,125,14,12 + LTEXT "Main menu item",IDC_STMMI,140,39,156,8 + LTEXT "Contact menu item",IDC_STCMI,140,107,156,8 + LTEXT "Other",IDC_STOTHER,140,204,156,8 + LTEXT "Tray menu item",IDC_STTMI,140,176,156,8 + EDITTEXT IDC_EDTMENUPN,220,194,76,12,ES_AUTOHSCROLL | WS_GROUP + CONTROL "Enable",IDC_CHBTMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,186,65,8 + RTEXT "Root popup:",IDC_STTMIROOTPOPN,150,195,65,8 + EDITTEXT IDC_EDMMENUN,218,69,64,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Name through vars:",IDC_STMMIVARNAME,132,72,83,8 + CONTROL "",IDC_BTMMNVARSHELP,"MButtonClass",WS_TABSTOP,282,69,14,12 + EDITTEXT IDC_EDCMENUN,218,138,64,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Name through vars:",IDC_STCMIVARNAME,132,139,83,8 + CONTROL "",IDC_BTCMNVARSHELP,"MButtonClass",WS_TABSTOP,282,138,14,12 CONTROL "TabButtonBar",IDC_CHBTABBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,228,19,68,8 - CONTROL "separated",IDC_CHBMMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,219,50,77,10 - CONTROL "separated",IDC_CHBCMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,219,102,77,10 + CONTROL "separated",IDC_CHBMMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,46,77,10 + CONTROL "separated",IDC_CHBCMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,115,77,10 + CONTROL "show only if variables return 1",IDC_CHBMMVARS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_GROUP | WS_TABSTOP,162,83,134,8 + EDITTEXT IDC_EDMMENUVARSTR,162,92,120,12,ES_AUTOHSCROLL | WS_GROUP + CONTROL "",IDC_BTMMSVARSHELP,"MButtonClass",WS_TABSTOP,282,92,14,12 END IDD_ELEMOPTS DIALOGEX 0, 0, 316, 182 diff --git a/useactions/res/resource.h b/useactions/res/resource.h index 05d165e..063634b 100644 --- a/useactions/res/resource.h +++ b/useactions/res/resource.h @@ -36,6 +36,9 @@ #define IDC_BTCMNVARSHELP 1030 #define IDC_CHBMMENUSEP 1031 #define IDC_CHBCMENUSEP 1032 +#define IDC_CHBMMVARS 1033 +#define IDC_EDMMENUVARSTR 1034 +#define IDC_BTMMSVARSHELP 1035 // Next default values for new objects // diff --git a/useactions/res/version.h b/useactions/res/version.h index 94df319..c4698c8 100644 --- a/useactions/res/version.h +++ b/useactions/res/version.h @@ -8,7 +8,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 0 #define __RELEASE_NUM 0 -#define __BUILD_NUM 3 +#define __BUILD_NUM 4 // plugin SVN Revision number //#define __REV_NUM 5678 @@ -21,13 +21,17 @@ //#define __PROD_REV_NUM 1234 // stuff that will be used in PluginInfo section and in Version resource +#if defined (_UNICODE) +#define __PLUGIN_NAME "UseActions (Unicode)" +#else #define __PLUGIN_NAME "UseActions" +#endif #define __FILENAME "UseActions.dll" -#define __DESC "This plugin makes use of actions, serviced by Actions Manager plugin (ActMan, by Awkward)" +#define __DESC "This plugin makes use of actions, serviced by Actions Manager plugin (ActMan by Awkward)." #define __AUTHOR "Igor Abakumov" #define __AUTHOREMAIL "abakumoff@mail.ru" #define __AUTHORWEB "http://vasilich.org/blog" -#define __COPYRIGHT "© 2009 Igor Abakumov" +#define __COPYRIGHT "© 2010 Igor Abakumov" // other stuff for Version resource #define __STRINGIFY_IMPL(x) #x -- cgit v1.2.3