// Microsoft Visual C++ generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #ifndef APSTUDIO_INVOKED #include "targetver.h" #endif #define APSTUDIO_HIDDEN_SYMBOLS #include "windows.h" #undef APSTUDIO_HIDDEN_SYMBOLS ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // English (United States) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_MANUAL_EDITING DIALOGEX 0, 0, 246, 116 STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_CAPTION EXSTYLE WS_EX_TOPMOST FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN CONTROL "X:",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,30,49,16,8,WS_EX_RIGHT EDITTEXT IDC_EDIT_X,54,48,48,14,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER CONTROL "Y:",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,30,73,16,8,WS_EX_RIGHT EDITTEXT IDC_EDIT_Y,54,72,48,14,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER CONTROL "Width:",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,128,49,22,8,WS_EX_RIGHT EDITTEXT IDC_EDIT_WIDTH,155,48,49,14,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER CONTROL "Height:",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,126,73,24,8,WS_EX_RIGHT EDITTEXT IDC_EDIT_HEIGHT,155,72,49,14,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER EDITTEXT IDC_EDIT_TITLE,6,6,234,14,ES_CENTER | ES_AUTOHSCROLL | ES_READONLY | NOT WS_TABSTOP EDITTEXT IDC_EDIT_CLASS,6,24,234,14,ES_CENTER | ES_AUTOHSCROLL | ES_READONLY | NOT WS_TABSTOP PUSHBUTTON "Set",IDC_BUTTON_SET,6,96,54,14 PUSHBUTTON "Center",IDC_BUTTON_CENTER,96,96,54,14 DEFPUSHBUTTON "Close",IDC_BUTTON_CLOSE,186,96,54,14 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO BEGIN IDD_MANUAL_EDITING, DIALOG BEGIN END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_TRAYICON ICON "wCenterWindow.ico" ///////////////////////////////////////////////////////////////////////////// // // Menu // IDR_MENU MENU BEGIN POPUP "PopupMenu" BEGIN MENUITEM "Hide icon", ID_POPUPMENU_ICON MENUITEM "Use workarea", ID_POPUPMENU_AREA MENUITEM SEPARATOR MENUITEM "Help", ID_POPUPMENU_HELP MENUITEM "About...", ID_POPUPMENU_ABOUT MENUITEM SEPARATOR MENUITEM "Exit", ID_POPUPMENU_EXIT END END #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE BEGIN "resource.h\0" END 2 TEXTINCLUDE BEGIN "#ifndef APSTUDIO_INVOKED\r\n" "#include ""targetver.h""\r\n" "#endif\r\n" "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" "#include ""windows.h""\r\n" "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" "\0" END 3 TEXTINCLUDE BEGIN "#include ""VersionInfo.rc""\0" END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // String Table // STRINGTABLE BEGIN IDS_CLASSNAME "WCENTERWINDOW" IDS_APP_TITLE "wCenterWindow" END STRINGTABLE BEGIN IDS_HELP "This program centers the current active window by a\r\n`LCTRL + LWIN + C` hotkey, or pressing `LCTRL + LWIN + MMB` (Middle Mouse Button).\r\n\r\n`LCTRL + LWIN + V` - manual editing of size and position of the window.\r\n\r\n`LCTRL + LWIN + I` hotkey is used to hide/show trayicon.\r\n\r\nYou can also use commandline option `/hide` to hide trayicon at startup.\r\n\r\nThe `/noupdate` commandline option is used to disable check for updates. By default, the program checks for updates upon startup and once a day.\r\n\r\nThe `Use workarea` option (at popup menu) means that the window is centered without a taskbar, otherwise, the full resolution of the monitor will be used.\r\n\r\nIf some windows does not centers, you should run wCenterWindow with administrative rights." IDS_ERR_MAIN "Something went wrong!" IDS_ERR_CLASS "ERROR! Can't register window class." IDS_ERR_WND "ERROR! Can't create window." IDS_ERR_ICON "ERROR! Can't create tray icon." IDS_ERR_MENU "ERROR! Can't load context menu." IDS_ERR_POPUP "ERROR! Can't get popup menu." IDS_ERR_HOOK "ERROR! Can't set hook." IDS_ERR_TIMER "ERROR! Can't set timer." IDS_ERR_HEAP "ERROR! Can't allocate buffer in heap memory." IDS_ERR_MAXMIN "The window should not be maximized or minimized." IDS_RUNNING "The program already running!" END #endif // English (United States) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // #include "VersionInfo.rc" ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED