⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resource.h

📁 一个WinCE6。0下的IP phone的源代码
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
#ifndef __RESOURCE_H__
#define __RESOURCE_H__

#define ID_STATIC                   -1

#define IDB_BACKGROUND              500
#define IDB_LOGO_BIG                501
#define IDB_MESSAGEBOX              502

// Control Ids
#define IDC_PINEDIT1                600
#define IDC_PINEDIT2                601
#define IDC_PINEDIT3                602
#define IDC_PINEDIT4                603

#define IDC_TEXT_IP_ADDRESS         610
#define IDC_TEXT_CE_VERSION         611
#define IDC_TEXT_ACCOUNT_NAME       612
#define IDC_TEXT_SIP_ACCOUNT_URI    613
#define IDC_TEXT_DATE               614
#define IDC_TEXT_TIME               615
#define IDC_TEXT_INFORMATIONAL1     616
#define IDC_TEXT_INFORMATIONAL2     617


#define RES_HOMESCREEN_BASE         0x1000
#define RES_HOMESCREEN_NOLOCBASE    0x1000

//Menu Commands
#define IDM_LOCK                    0x1000 //(RES_HOMESCREEN_NOLOCBASE + 0x1000)
#define IDM_UNLOCK                  0x1001 //(RES_HOMESCREEN_NOLOCBASE + 0x1001)
#define IDM_SETTINGS                0x1002 //(RES_HOMESCREEN_NOLOCBASE + 0x1002)
#define IDM_MISSED_CALLS            0x1003 //(RES_HOMESCREEN_NOLOCBASE + 0x1003)
#define IDM_BACKSPACE               0x1004 //(RES_HOMESCREEN_NOLOCBASE + 0x1004)

//Dialogs
#define IDD_HOME_SCREEN             0x1000 //(RES_HOMESCREEN_BASE + 0x0000)
#define IDD_ENTER_PIN               0x1001 //(RES_HOMESCREEN_BASE + 0x0001)

//Menus
#define IDMB_HOME_SCREEN_LOCK       0x2000 //(RES_HOMESCREEN_BASE + 0x1000)
#define IDMB_ENTERPIN_MENU          0x2001 //(RES_HOMESCREEN_BASE + 0x1001)
#define IDMB_OK                     0x2002 //(RES_HOMESCREEN_BASE + 0x1002)

//Strings
#define IDS_LABEL_DEFAULT_NAME      (RES_HOMESCREEN_BASE + 0x2000)
#define IDS_DATE_FORMAT_LONG        (RES_HOMESCREEN_BASE + 0x2001)

#define IDS_STATUS_REGISTERING      (RES_HOMESCREEN_BASE + 0x2002)
#define IDS_STATUS_REGISTRATION_ERROR (RES_HOMESCREEN_BASE + 0x2003)
#define IDS_STATUS_PROVISIONING_ERROR (RES_HOMESCREEN_BASE + 0x2004)
#define IDS_STATUS_PROVISIONING_INVALID (RES_HOMESCREEN_BASE + 0x2005)

#define IDS_STATUS_UPDATING         (RES_HOMESCREEN_BASE + 0x2006)
#define IDS_STATUS_UPDATE_ERROR     (RES_HOMESCREEN_BASE + 0x2007)

#define IDS_LOCK                    (RES_HOMESCREEN_BASE + 0x2008)
#define IDS_UNLOCK                  (RES_HOMESCREEN_BASE + 0x2009)

#define IDS_STATUS_AUTOFORWARDING_TO (RES_HOMESCREEN_BASE + 0x200A)
#define IDS_STATUS_DO_NOT_DISTURB   (RES_HOMESCREEN_BASE + 0x200B)
#define IDS_STATUS_CALL_FORWARDED   (RES_HOMESCREEN_BASE + 0x200C)
#define IDS_STATUS_CALL_BLOCKED     (RES_HOMESCREEN_BASE + 0x200D)
#define IDS_STATUS_CALL_MISSED      (RES_HOMESCREEN_BASE + 0x200E)

#define IDS_SETTINGS                (RES_HOMESCREEN_BASE + 0x200F)
#define IDS_CANCEL                  (RES_HOMESCREEN_BASE + 0x2010)
#define IDS_MISSED_CALLS            (RES_HOMESCREEN_BASE + 0x2011)

#define IDS_TITLE_ERROR             (RES_HOMESCREEN_BASE + 0x2012)
#define IDS_ERROR_WRONGPIN          (RES_HOMESCREEN_BASE + 0x2013)

#define IDS_TITLE_HELP              (RES_HOMESCREEN_BASE + 0x2014)
#define IDS_HELP_DEFAULT            (RES_HOMESCREEN_BASE + 0x2015)

//Layout Data
#define IDR_METRICS_DATA            0x4000 //(RES_HOMESCREEN_BASE + 0x3000)
#define DEFINE_MARGIN(Left, Top, Right, Bottom) \
    (Left), (Top), (Right), (Bottom)

//Colors Data
#define IDR_COLORS_DATA             0x4001 //(RES_HOMESCREEN_BASE + 0x3001)
#define DEFINE_RGB_COLOR(Red, Green, Blue) \
    (Red##L + Green##00L + Blue##0000L)

//HotKeys Data
#define IDR_HOTKEYS_DATA            0x4003 //(RES_HOMESCREEN_BASE + 0x3003)

#endif // !defined __RESOURCE_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -