198 lines
6.3 KiB
Plaintext
198 lines
6.3 KiB
Plaintext
|
//Microsoft Developer Studio generated resource script.
|
||
|
//
|
||
|
#include "resource.h"
|
||
|
|
||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||
|
//
|
||
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
||
|
#include "windows.h"
|
||
|
#include "commctrl.h"
|
||
|
#include "version.h"
|
||
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||
|
#include "stresid.h"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// English (U.S.) resources
|
||
|
|
||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
|
#ifdef _WIN32
|
||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||
|
#pragma code_page(1252)
|
||
|
#endif //_WIN32
|
||
|
|
||
|
#ifdef APSTUDIO_INVOKED
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// TEXTINCLUDE
|
||
|
//
|
||
|
|
||
|
1 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"resource.h\0"
|
||
|
END
|
||
|
|
||
|
2 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||
|
"#include ""windows.h""\r\n"
|
||
|
"#include ""commctrl.h""\r\n"
|
||
|
"#include ""version.h""\r\n"
|
||
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||
|
"#include ""stresid.h""\r\n"
|
||
|
"\0"
|
||
|
END
|
||
|
|
||
|
3 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"\r\n"
|
||
|
"\0"
|
||
|
END
|
||
|
|
||
|
#endif // APSTUDIO_INVOKED
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Dialog
|
||
|
//
|
||
|
|
||
|
IDD_BATTERYMETER DIALOGEX 0, 0, 252, 218
|
||
|
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
EXSTYLE WS_EX_CONTEXTHELP
|
||
|
CAPTION "Power Meter"
|
||
|
CLASS "SystemTray_Main"
|
||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||
|
BEGIN
|
||
|
GROUPBOX "Power status",IDC_POWERSTATUSGROUPBOX,9,20,234,189
|
||
|
CONTROL "&Always show icon on the taskbar.",IDC_ENABLEMETER,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,6,6,120,10
|
||
|
CONTROL "Show details for each &battery.",IDC_ENABLEMULTI,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,135,6,120,8
|
||
|
LTEXT "",IDC_STATIC_FRAME_BATMETER,11,29,229,178,NOT
|
||
|
WS_VISIBLE
|
||
|
END
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Icon
|
||
|
//
|
||
|
|
||
|
// Icon with lowest ID value placed first to ensure application icon
|
||
|
// remains consistent on all systems.
|
||
|
IDI_HOTPLUG ICON DISCARDABLE "HOTPLUG.ICO"
|
||
|
IDI_VOLUME ICON DISCARDABLE "VOLUME.ICO"
|
||
|
IDI_MUTE ICON DISCARDABLE "MUTE.ICO"
|
||
|
IDI_BATTERYPLUG ICON DISCARDABLE "battplug.ico"
|
||
|
IDI_STK000 ICON DISCARDABLE "stk0000.ico"
|
||
|
IDI_STK001 ICON DISCARDABLE "stk0001.ico"
|
||
|
IDI_STK002 ICON DISCARDABLE "stk0010.ico"
|
||
|
IDI_STK003 ICON DISCARDABLE "stk0011.ico"
|
||
|
IDI_STK004 ICON DISCARDABLE "stk0100.ico"
|
||
|
IDI_STK005 ICON DISCARDABLE "stk0101.ico"
|
||
|
IDI_STK006 ICON DISCARDABLE "stk0110.ico"
|
||
|
IDI_STK007 ICON DISCARDABLE "stk0111.ico"
|
||
|
IDI_STK008 ICON DISCARDABLE "stk1000.ico"
|
||
|
IDI_STK009 ICON DISCARDABLE "stk1001.ico"
|
||
|
IDI_STK00A ICON DISCARDABLE "stk1010.ico"
|
||
|
IDI_STK00B ICON DISCARDABLE "stk1011.ico"
|
||
|
IDI_STK00C ICON DISCARDABLE "stk1100.ico"
|
||
|
IDI_STK00D ICON DISCARDABLE "stk1101.ico"
|
||
|
IDI_STK00E ICON DISCARDABLE "stk1110.ico"
|
||
|
IDI_STK00F ICON DISCARDABLE "stk1111.ico"
|
||
|
IDI_MKTT ICON DISCARDABLE "mk_tt.ico"
|
||
|
IDI_MKTB ICON DISCARDABLE "mk_tb.ico"
|
||
|
IDI_MKTG ICON DISCARDABLE "mk_tg.ico"
|
||
|
IDI_MKBT ICON DISCARDABLE "mk_bt.ico"
|
||
|
IDI_MKBB ICON DISCARDABLE "mk_bb.ico"
|
||
|
IDI_MKBG ICON DISCARDABLE "mk_bg.ico"
|
||
|
IDI_MKGT ICON DISCARDABLE "mk_gt.ico"
|
||
|
IDI_MKGB ICON DISCARDABLE "mk_gb.ico"
|
||
|
IDI_MKGG ICON DISCARDABLE "mk_gg.ico"
|
||
|
IDI_MKPASS ICON DISCARDABLE "mk_pass.ico"
|
||
|
IDI_FILTER ICON DISCARDABLE "fk.ico"
|
||
|
|
||
|
#ifndef _MAC
|
||
|
|
||
|
#endif // !_MAC
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// String Table
|
||
|
//
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_PROPFORPOWER "&Adjust Power Properties"
|
||
|
IDS_OPEN "&Open Power Meter"
|
||
|
IDS_RUNPOWERPROPERTIES "shell32.dll,Control_RunDLL PowerCfg.cpl"
|
||
|
IDS_REMAINING "%1!u!%% remaining"
|
||
|
IDS_CHARGING " (charging)"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_UNKNOWN "Unknown remaining"
|
||
|
IDS_ACPOWER "On AC power"
|
||
|
IDS_TIMEREMFORMATHOUR "%1!u!:%2!02u! hours (%3!u!%%) remaining"
|
||
|
IDS_TIMEREMFORMATMIN "%1!u! min (%2!u!%%) remaining"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_HOTPLUG_TITLE "This hardware requires ""Safe Removal"""
|
||
|
IDS_HOTPLUG_INSERT_INFO "Before removing this hardware, click on this icon and select the hardware you want to remove."
|
||
|
IDS_HOTPLUGTIP "Safely Remove Hardware"
|
||
|
IDS_HPLUGMENU_PROPERTIES "&Safely Remove Hardware"
|
||
|
IDS_HPLUGMENU_REMOVE "Safely remove %s"
|
||
|
IDS_SEPARATOR ", "
|
||
|
IDS_DISKDRIVE " - Drive(%s)"
|
||
|
IDS_DISKDRIVES " - Drives(%s)"
|
||
|
IDS_DRIVELETTERS "A:\0B:\0C:\0D:\0E:\0F:\0G:\0H:\0I:\0J:\0K:\0L:\0M:\0N:\0O:\0P:\0Q:\0R:\0S:\0T:\0U:\0V:\0W:\0X:\0Y:\0Z:\0\0"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_RUNHPLUGPROPERTIES "shell32.dll,Control_RunDLL hotplug.dll"
|
||
|
IDS_VOLUME "Volume"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_VOLUMEMENU1 "&Adjust Audio Properties"
|
||
|
IDS_VOLUMEMENU2 "&Open Volume Control"
|
||
|
IDS_VOLUMEAPP "SNDVOL32.EXE"
|
||
|
IDS_MUTED "Volume (muted)"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_STICKYKEYS "StickyKeys"
|
||
|
IDS_MOUSEKEYS "MouseKeys"
|
||
|
IDS_FILTERKEYS "FilterKeys"
|
||
|
END
|
||
|
|
||
|
|
||
|
|
||
|
#endif // English (U.S.) resources
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
|
||
|
|
||
|
#ifndef APSTUDIO_INVOKED
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 3 resource.
|
||
|
//
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#endif // not APSTUDIO_INVOKED
|
||
|
|