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

📄 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__


//Bitmaps
#define IDB_BACKGROUND                  500
#define IDB_BUTTON                      501
#define IDB_BUTTONDOWN                  502
#define IDB_STATUS                      503
#define IDB_TITLE_BAR                   504
#define IDB_TRACKBAR_CHANNEL            505
#define IDB_TRACKBAR_CHANNEL_SEL        506
#define IDB_TRACKBAR_THUMB              507
#define IDB_TRACKBAR_THUMB_SEL          508
#define IDB_LOGO_SMALL                  509
#define IDB_POPUPMENU_RIGHT_ARROW       510
#define IDB_POPUPMENU_UP_ARROW          511
#define IDB_SCROLL_ARROW_UP             512
#define IDB_SCROLL_ARROW_DOWN           513
#define IDB_SIP_ICON                    514
#define IDB_IME_BACKGROUND              515
#define IDB_POPUPMENU_SCROLL_ARROW_UP   516
#define IDB_POPUPMENU_SCROLL_ARROW_DOWN 517

#define RES_PHCOMMON_NOLOCBASE      0x0000
#define RES_PHCOMMON_BASE           0x1000

//Commands
#define IDC_IMEMENU_FIRST__         (RES_PHCOMMON_NOLOCBASE + 0x0030)
#define IDC_IMEMENU_LAST__          (RES_PHCOMMON_NOLOCBASE + 0x005F)

#define IDC_IMEMENU_NUM             (IDC_IMEMENU_FIRST__ + 0x0000)
#define IDC_IMEMENU_MULTITAP        (IDC_IMEMENU_FIRST__ + 0x0001)
#define IDC_IMEMENU_MULTITAPUPPERCASE (IDC_IMEMENU_FIRST__ + 0x0002)
#define IDC_IMEMENU_SIP             (IDC_IMEMENU_FIRST__ + 0x0003)

#define IDC_IMEMENU_SYMBOLS_FIRST__ (IDC_IMEMENU_FIRST__ + 0x0004)
#define IDC_IMEMENU_SYMBOLS_LAST__  IDC_IMEMENU_LAST__

#define IDC_BUTTON_FIRST__          (RES_PHCOMMON_NOLOCBASE + 0x0064)
#define IDC_BUTTON_LAST__           (RES_PHCOMMON_NOLOCBASE + 0x006F)

//Dialogs
#define IDD_DIALOG_SCREEN           0x1000 //(RES_PHCOMMON_BASE + 0x0000)
#define IDD_MESSAGE_BOX             0x1001 //(RES_PHCOMMON_BASE + 0x0001)

//Menus
#define IDMB_DEFAULT_MESSAGE_BOX    0x2000 //(RES_PHCOMMON_BASE + 0x1000)
#define IDMB_MENU_SCREEN            0x2001 //(RES_PHCOMMON_BASE + 0x1001)

//Strings
#define IDS_MENU_SCREEN_HEADER      (RES_PHCOMMON_BASE + 0x2000)
#define IDS_MENU_SCREEN_TITLE       (RES_PHCOMMON_BASE + 0x2001)
#define IDS_DIALOG_SCREEN_CURRENT_ITEMS (RES_PHCOMMON_BASE + 0x2002)
#define IDS_IMEMENU_MULTITAP        (RES_PHCOMMON_BASE + 0x2003)
#define IDS_IMEMENU_MULTITAPUPPERCASE (RES_PHCOMMON_BASE + 0x2004)
#define IDS_IMEMENU_NUM             (RES_PHCOMMON_BASE + 0x2005)
#define IDS_IMEMENU_SYMBOLS         (RES_PHCOMMON_BASE + 0x2006)


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

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

//Font Data
#define IDR_FONTS_DATA              0x4002 //(RES_PHCOMMON_BASE + 0x3002)
#define DEFINE_FONT(FontNameId, Height, Weight) \
    (FontNameId), (Height), (Weight)

#define IDS_FONT_TAHOMA             0x4300 //(RES_PHCOMMON_BASE + 0x3300)
#define IDS_FONT_ARIAL              0x4301 //(RES_PHCOMMON_BASE + 0x3301)
#define IDS_FONT_TREBUCHET          0x4302 //(RES_PHCOMMON_BASE + 0x3302)

#endif // !defined __RESOURCE_H__

⌨️ 快捷键说明

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