📄 phonedialog.rc
字号:
//
// 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 OR INDEMNITIES.
//
///////////////////////////////////////////////////////////////////////////////
//
// This is "Sample Code" and is distributable subject to the terms of the end
// user license agreement.
//
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//
// Dialogs for use in the Smartphone phone application
//
// Default Phone Layouts
#include <windows.h>
#include "..\PhoneResources.h"
#include "wpcpriv.h"
/////////////////////////////////////////////////////////////////////////////
//
// Dialogs
//
IDD_CPROG_PORT DIALOG 0, 0, 176, 220
STYLE DS_USEPIXELS
BEGIN
// branding
CONTROL "", IDC_BRANDING, "MS_PHONE_BRANDING", 0, 4, 0, 136, 20
// status icons : mute, voice privacy
CONTROL "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 140, 2, 32, 17
// line (NOT WSVISIBLE?)
CONTROL "", IDC_LINEUI, "MS_PHONE_SOLIDLINE", 0, 4, 21, 168, 1
// call state
CONTROL "", IDC_CALLSTATE, "MS_PHONE_CALLSTATE", 0, 4, 26, 168, 23
// duration
CONTROL "", IDC_ELAPSEDTIME, "MS_PHONE_ELAPSEDTIME", 0, 4, 50, 129, 17
// status area
CONTROL "", IDC_STATUSAREA, "MS_PHONE_CALLERIDINFO", 0, 4, 69, 129, 37
// offscreen, invisible. layout helper control.
CONTROL "", IDC_LAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// offscreen, invisible. layout helper control for icons and branding ui
CONTROL "", IDC_ICONSLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// contact picture
CONTROL "", IDC_CONTACTPICTURE, "MS_PHONE_CONTACTPICTURE", 0, 136, 50, 36, 48
// additional callers
CONTROL "", IDC_CALLERLIST, "MS_PHONE_CALLERLIST", 0, 4, 110, 168, 35
// accumulator
CONTROL "", IDC_ACCUMULATOR, "MS_PHONE_ACCUMULATOR", 0, 0, 150, 176, 30
END //end dialog.
IDD_CPROG_LAND DIALOG 0, 0, 220, 176
STYLE DS_USEPIXELS
BEGIN
// branding
CONTROL "", IDC_BRANDING, "MS_PHONE_BRANDING", 0, 4, 0, 164, 18
// status icons : mute, voice privacy
CONTROL "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 168, 1, 48, 17
// line (NOT WSVISIBLE?)
CONTROL "", IDC_LINEUI, "MS_PHONE_SOLIDLINE", 0, 4, 19, 216, 1
// call state
CONTROL "", IDC_CALLSTATE, "MS_PHONE_CALLSTATE", 0, 4, 20, 162, 23
// duration
CONTROL "", IDC_ELAPSEDTIME, "MS_PHONE_ELAPSEDTIME", 0, 166, 20, 50, 17
// status area
CONTROL "", IDC_STATUSAREA, "MS_PHONE_CALLERIDINFO", 0, 4, 46, 162, 37
// offscreen, invisible. layout helper control.
CONTROL "", IDC_LAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// offscreen, invisible. layout helper control for icons and branding ui
CONTROL "", IDC_ICONSLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// contact picture
CONTROL "", IDC_CONTACTPICTURE, "MS_PHONE_CONTACTPICTURE", 0, 166, 38, 50, 45
// additional callers
CONTROL "", IDC_CALLERLIST, "MS_PHONE_CALLERLIST", 0, 4, 84, 216, 18
// accumulator
CONTROL "", IDC_ACCUMULATOR, "MS_PHONE_ACCUMULATOR", 0, 0, 106, 220, 28
END //end dialog.
IDD_CALERT DIALOG DISCARDABLE 0, 0, 176, 220
STYLE DS_USEPIXELS | WS_SYSMENU
FONT 12, "Nina"
BEGIN
// left, right, top, bottom, control.
// Branding
CONTROL "", IDC_BRANDING, "MS_PHONE_BRANDING", 0, 4, 0, 136, 20
// status icons : mute, voice privacy, roaming
CONTROL "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 140, 2, 32, 17
CONTROL "", IDC_LINEUI, "MS_PHONE_SOLIDLINE", 0, 0, 20, 176, 1
// incoming call heading
CONTROL "", IDC_INCOMINGCALL_TEXT, "MS_PHONE_TEXT", 0, 4, 21, 168, 16
// Line number for multi-line sims
CONTROL "" IDC_PHONELINE_TEXT, "MS_PHONE_TEXT", 0, 4, 38, 168, 13
// CallAlert contact details
CONTROL "", IDC_CALERTCONTACT, "MS_PHONE_CALERTCONTACT", 0, 4, 133, 168, 49
// offscreen, invisible. layout helper control.
CONTROL "", IDC_CALERTLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// offscreen, invisible. layout helper control for icons and branding ui
CONTROL "", IDC_ICONSLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// contact picture
CONTROL "", IDC_CALERTCONTACTPICTURE, "MS_PHONE_CONTACTPICTURE", 0, 59, 52, 59, 79
// background control
CONTROL "", IDC_CALERTBACKGROUND, "MS_VIRTUAL_LIST_VIEW_CE_1.0", 0, 0, 0, 176, 220
END // end dialog
IDD_CALERT_LAND DIALOG DISCARDABLE 0, 0, 220, 176
STYLE DS_USEPIXELS | WS_SYSMENU
FONT 12, "Nina"
BEGIN
// left, right, top, bottom, control.
// Branding
CONTROL "", IDC_BRANDING, "MS_PHONE_BRANDING", 0, 4, 0, 164, 20
// status icons : mute, voice privacy, roaming
CONTROL "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 168, 2, 48, 17
CONTROL "", IDC_LINEUI, "MS_PHONE_SOLIDLINE", 0, 0, 21, 220, 1
// incoming call heading
CONTROL "", IDC_INCOMINGCALL_TEXT, "MS_PHONE_TEXT", 0, 4, 24, 151, 16
// Line number for multi-line sims
CONTROL "", IDC_PHONELINE_TEXT, "MS_PHONE_TEXT", 0, 4, 42, 151, 16
// CallAlert contact details
CONTROL "", IDC_CALERTCONTACT, "MS_PHONE_CALERTCONTACT", 0, 4, 66, 151, 49
// offscreen, invisible. layout helper control.
CONTROL "", IDC_CALERTLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// offscreen, invisible. layout helper control for icons and branding ui
CONTROL "", IDC_ICONSLAYOUTHELPER, "MS_PHONE_LAYOUTHELPER", NOT WS_VISIBLE, -1, 0, 0, 0
// contact picture
CONTROL "", IDC_CALERTCONTACTPICTURE, "MS_PHONE_CONTACTPICTURE", 0, 157, 24, 59, 79
// background control
CONTROL "", IDC_CALERTBACKGROUND, "MS_VIRTUAL_LIST_VIEW_CE_1.0", 0, 0, 0, 220, 176
END // end dialog
IDD_CPROG_PRIVCALL_PORT DIALOG DISCARDABLE 0, 0, 176, 220
STYLE DS_USEPIXELS
BEGIN
CONTROL "",IDC_CALLERLIST,"MS_PHONE_CALLERLIST", 0,0,0,176,220
END
IDD_CPROG_MANUALNET_PORT DIALOG DISCARDABLE 0, 0, 176, 220
STYLE DS_USEPIXELS | WS_POPUP
BEGIN
CONTROL "",IDC_NETWORK_LIST,WC_LISTVIEW, LVS_ALIGNLEFT | LVS_REPORT | LVS_NOCOLUMNHEADER | LVS_SINGLESEL | LVS_SHOWSELALWAYS |
WS_BORDER | WS_TABSTOP,0,0,176,220
END
IDD_CPROG_PRIVCALL_LAND DIALOG DISCARDABLE 0, 0, 220, 176
STYLE DS_USEPIXELS
BEGIN
CONTROL "",IDC_CALLERLIST,"MS_PHONE_CALLERLIST", 0,0,0,235,136
END
IDD_CPROG_MANUALNET_LAND DIALOG DISCARDABLE 0, 0, 220, 176
STYLE DS_USEPIXELS | WS_POPUP
BEGIN
CONTROL "",IDC_NETWORK_LIST,WC_LISTVIEW, LVS_ALIGNLEFT | LVS_REPORT | LVS_NOCOLUMNHEADER | LVS_SINGLESEL | LVS_SHOWSELALWAYS |
WS_BORDER | WS_TABSTOP,0,0,235,136
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -