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

📄 phonedialog.rc

📁 Windows Mobile 上的通话记录定制源代码
💻 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.
//
///////////////////////////////////////////////////////////////////////////////

/****************************************************************************
 This file defines layouts for dialogs used on Smartphones.

 The file is copied from $(_PUBLICROOT)\apps\oak\samples\PhoneDialogs\tpc\PhoneDialog.rc
 except for changes needed to support a new call cost control for the dialer
 and call progress templates.
****************************************************************************/

#include <windows.h>
#include "MyResources.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, 132, 20

// status icons : mute, voice privacy
    CONTROL     "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 136, 2, 36, 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, 17

// duration
    CONTROL     "", IDC_ELAPSEDTIME, "MS_PHONE_ELAPSEDTIME", 0, 4, 44, 129, 15

// call cost
    CONTROL     "", IDC_CALLCOST, "CALL_COST_CONTROL", 0, 4, 60, 129, 15

// status area
    CONTROL     "", IDC_STATUSAREA, "MS_PHONE_CALLERIDINFO", 0, 4, 76, 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, 44, 36, 48

// additional callers
    CONTROL     "", IDC_CALLERLIST, "MS_PHONE_CALLERLIST", 0, 4, 114, 168, 35
    
//  accumulator 
    CONTROL     "", IDC_ACCUMULATOR, "MS_PHONE_ACCUMULATOR", 0, 0, 150, 176, 30

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, 132, 20

// status icons : mute, voice privacy, busy
    CONTROL     "", IDC_STATUSICONS, "MS_PHONE_STATUSICONS", 0, 136, 2, 36, 17

    CONTROL     "", IDC_LINEUI, "MS_PHONE_SOLIDLINE", 0, 0, 21, 176, 1

// incoming call heading
    CONTROL    "", IDC_INCOMINGCALL_TEXT, "MS_PHONE_TEXT", 0, 4, 26, 124, 23

// Line number for multi-line sims
    CONTROL     "" IDC_PHONELINE_TEXT, "MS_PHONE_TEXT", 0, 4, 50, 120, 15
    
// CallAlert contact details
    CONTROL     "", IDC_CALERTCONTACT, "MS_PHONE_CALERTCONTACT", 0, 4, 70, 120, 100

// 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, 132, 26, 36, 48

//  background control
    CONTROL     "", IDC_CALERTBACKGROUND, "MS_VIRTUAL_LIST_VIEW_CE_1.0", 0, 0, 0, 176, 220

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

⌨️ 快捷键说明

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