Avoiding GetDlgItem

听故事学语言 · 数据结构篇 · 第 12 章 树的工业应用 数据结构篇第十二章,树的工业应用。第一站文件树:打开一条路径就是从树根逐层查找,每一层都是一次小小的顺序查找,目录项是目录里的一行,NTFS 的目录在磁盘上用 B 树来管。第二站人造的两棵树:DOM 是网页内容的树,开标签压栈闭标签弹栈,弹出来的就是爸爸,一对标签一条线段,层次就是盖住你的线段条数;Git 提交一次给整棵目录树拍快照,没变的子树新旧快照直接共用,每份内容一枚按内容算出来的号。第三站字典树:一层一个字母,查一个词看词长不看词库大小,联想词先序收子树,天然字典序。第四站磁盘上的树讲矮胖:页 16 阅读详情

Introduction and Overview

When you learned to program Windows in C, you learned about GetDlgItem. This is the way to get a handle for a control when you are working with a dialog. In C, it is the only way to get a window handle for the control. In C++/MFC, there is a better way. It makes about as much sense to use GetDlgItem in C++/MFC as it does to program Windows in assembly code. Yes, I know there are masochists who like to program Windows in assembly code. But it is rare that it is actually needed. Perhaps in the inner loop of a DSP algorithm, where you might drop a few of those fancy Pentium III opcodes inline, but the rest of the time it is insanity. The same is true of GetDlgItem. Actually, there is slightly more reason to use a raw GetDlgItem than there is to use assembly code, but the reasons represent rare and very uncommon cases.

My view is, if you are writing more than one GetDlgItem per year, you are probably not using C++/MFC correctly. Fortunately, there is a better, more elegant, and safer way to get access to controls using MFC.

Note that you should almost never use UpdateData in a dialog. If you use it, you should use it only in a modeless dialog. There is, as far as I can tell, absolutely no excuse for using UpdateData in a modal dialog. I discuss this in much more detail in another essay. But the techniques shown here are fundamental to avoiding the use of UpdateData as well. A simple rule: If you're calling UpdateData in a modal dialog, you're not using MFC correctly.

Creating Control Variables

To avoid the use of GetDlgItem, you must create a control variable to represent your control. You can create a control variable for any control that has an ID other than IDC_STATIC. Due to what appears to be terminal insanity, you have to go through an unfortunate set of complex machinations, discussed below, to create control variables for radio buttons other than the first in a group; I cannot figure out why this is viewed as a good idea, but Microsoft seems to have a peculiar idea about how you should use radio buttons. 

To create a control variable, you activate ClassWizard, select the Member Variables tab, highlight the control you want a variable for in the list box, and click the Add Variable button. You will get a window much like the one shown below (which has already been filled in):

In the "Member variable name" window you type the name of your member variable. The window starts out preloaded with "m_". I found immediately that this was confusing. For some controls, you can have both a control variable and a value variable. I use "m_" for the value variable (a feature I rarely use, as it turns out), and use "c_" as a prefix for control variables. Trust me on this one: if you start using m_ to represent control variables, you will quickly come to regret it. Been there, done that. That's why I have a new convention. It works. For other conventions, see the discussion below.

Go to the Category window. For some controls, you can only have a Control variable, and that is the only option. For others, such as an edit control, you can have a Control or a Value variable. The default is Value, so you have to do what I have done in the illustration and select Control as the category. Having selected a Control variable, you may now select the type. If you have a class you have derived directly from a base class, as I have derived CNumericEdit from CEdit, ClassWizard will recognize it and present it as one of the options in the Variable Type window. Since c_Count is an edit control representing a count, I selected my CNumericEdit class as the variable type.

Unfortunately, if you have a class which is derived from one of your classes that is derived from a base class, ClassWizard can't cope (ClassWizard can't cope with a lot of common things you would like to do...). In this case, just select the base type, and you'll have to hand-edit it later.

What this gives you is a variable of the selected type. If you look in your .h file, you will find a declaration has been added

        CNumericEdit c_Count;

It is your responsibility to see that the appropriate header file (NumericEdit.h, in this case) is included before the dialog header file so the user-defined control types are known.

If you have (as I usually do), two or more derivation levels to get to your useful control (for example, I have a fancy ComboBox class, CSmartCombo, and one which displays little icons with the selections, CImageCombo, which is derived from CSmartCombo, which is derived from CComboBox, you can't specify this class. If I want a CImageCombo control, I just tell it CComboBox is the variable type, and then I go in and change the header file by hand. Silly, but ClassWizard is not a wizard you want to leave to carry water if there are brooms nearby...

Having done this, you will notice another feature: in the .cpp file there has been a function all along, which now has the line:

void CMyClass::DoDataExchange(CDataExchange * pDX)
  {
   CDialog::DoDataExchange(pDX);
   //{{AFX_DATA_MAP(CMyClass)
   DDX_Control(pDX, IDC_COUNT, c_Count);
   //}}AFX_DATA_MAP
  }

Like most //{{ //}} style ClassWizard comments, you shouldn't mess with the contents of the delimited block yourself unless you are willing to risk the consequences. What the DDX_Control line does is map the HWND of the control to the variable, in this case IDC_COUNT is mapped to c_Count. And yes, it does it under the floor with GetDlgItem. 

After your OnInitDialog handler calls CDialog::OnInitDialog, these variables are available for use. Thus, instead of writing

CButton * button = (CButton *)GetDlgItem(IDC_BUTTON);
if(button->GetCheck( ) == BST_CHECKED) ...

you can write

if(c_Button.GetCheck( ) == BST_CHECKED) ...

In my case, I can write

if(c_Count.GetWindowInt() == 0) ...

because GetWindowInt is a method of my CNumericEdit class. I can even write

c_Count.SetWindowText(37);

because I've overloaded SetWindowText in my class to take integer values.

And that represents one of the problems of having those hundreds of GetDlgItem casts: what if you subclass a control? You have to find all uses of the control in GetDlgItem and change the casts. Say, for example, you've overridden AddString in your CListBox-derived class to recompute the horizontal extent and call SetHorizontalExtent, and consequently also overridden ResetContent to set the horizontal extent to 0. If you then change some ordinary CListBox variable to be your new CHorzListBox class, you have to find all the casts to CListBox, and change only those which apply to your new CHorzListBox class. Ugly, isn't it? Whereas if you use control variables, all you do is change the variable type in the declaration, and all the overloading and inheritance work correctly. Much better. This is how C++ is supposed to be used.

Pitfalls and Gotchas

This is not without its problems. Some of the problems were there already when you used GetDlgItem, and some are artifacts of a limited world view of ClassWizard.

We've already mentioned that ClassWizard can't cope with more than one derivation level. Silly, but I've been complaining about this since ClassWizard was introduced in 16-bit MFC and nobody pays attention. 

Radio button variables

Another intrinsic problem, which represents some sort of strange philosophical viewpoint of Microsoft, is that you must not be allowed to create control variables for radio buttons. This makes no sense. They have some weird idea that the only way you will ever manipulate radio buttons is via an index. This is hopelessly inadequate. Therefore, you have to go through some serious contortions to get control variables for your radio buttons.

The first thing you have to do is go back and mark all radio buttons as having the WS_GROUP style. Only radio buttons with a WS_GROUP style can have a control variable. However, if you mark all of them with WS_GROUP, create the control variables, and then remove the WS_GROUP attribute, everything works just fine, thank you. Why we have to go through these extra steps makes no sense whatsoever, but like the derived classes problem, I've been complaining about this for years with no effect. My problem is that I keep forgetting to go back and undo all the WS_GROUP attributes, so the first time I run the program after this I find that all my radio buttons are one-button groups. Whoops. $#%! Fix, and recompile/relink. 

Uninitialized Controls

This problem actually already exists, and you may have been hit by it. But for those of you who haven't been, here's what can happen to you. 

During dialog creation or the DDX_Control initialization, controls can generate messages. These messages often have handlers that want to assume the controls are present. They may not be. You have no real control over the order of DDX_Control initialization. Consider two simple examples:


Example 1: Resizing controls

You can create a dialog with a resize border. Using this resize border you can drag the dialog edges around to resize it. A typical use might be if you have a list box in the dialog, most conveniently placed at the bottom of the dialog. As you stretch the dialog horizontally or vertically, you want to stretch the list box so it fits the entire dialog. Looks simple:

void CMyDialog::OnSize(UINT nType, int cx, int cy)
   {
    CDialog::OnSize(nType, cx, cy);
    CRect r;
    GetClientRect(&r);
    CRect lb;
    c_ListBox.GetWindowRect(&lb);
    ScreenToClient(&lb);
    c_ListBox.SetWindowPos(NULL, 0, 0, r.Width(), r.Height() - lb.top,
                           SWP_NOMOVE | SWP_NOZORDER); 
   }

Unfortunately, the OnSize routine can be called very early; WM_SIZE is one of the first five messages sent when a window is created. This means that at the time the dialog is created, the OnSize handler is called, but none of the controls have been created yet! The result is the c_ListBox.GetWindowRect takes an access fault somewhere deep in Windows. Ugly.


Example 2: A spin control with an autobuddy.

If you have a CSpinCtrl which has its "Autobuddy" attribute set, this means that it will set the value of its buddy control (such as an edit control) whenever its value changes. It also means that it will set that control to 0 when the spin control is created. This generates a WM_CHANGE and WM_UPDATE sequence to the edit control. If you are looking for this event, and want to change the state of some other control based on the change, your attempt to access the other control will cause an access fault if that other control is not already defined.


Both of these problems can be solved by adding an extra variable to the dialog class. Add a protected variable, "BOOL initialized". In the dialog class constructor, set "initialized" to FALSE. (Note that I do not use the m_ prefix for class variables that are not public and set or read by the DoModal caller. I've been programming far too many years to think this convention is useful. Also, you will never see me use Hungarian notation in any variable I define, anywhere, at any time. But that's another discussion). You must set this in the constructor, not in OnInitDialog, because by the time you get to the assignment in OnInitDialog it is far too late. To protect against the possibility of accessing an invalid variable, you just check the initialized variable. For example, 

void CMyDialog::OnSize(UINT nType, UINT cx, UINT cy)
   {
    CDialog::OnSize(nType, cx, cy);
    if(!initialized)
       return;
    // ... whatever else you want to do
   }

Naming Conventions

Microsoft has some weird ideas about naming conventions. Hungarian notation was invented in the days before C had prototypes and thus cross-module checking. It probably had some utility in the days before C resembled a real programming language. It has absolutely no value today, and should be avoided. I find the m_ convention for member variables equally insane. I use it only in limited situations, in particular, only for values associated with controls. I only need value variables for controls whose values are passed into the dialog from outside, or which are passed back to the caller. Since I rarely do this, the occurrence of m_ variables in my code is very, very low.

There are other conventions I use. For example, I prefix the control variables with "c_". This indicates that it is a control variable. It is necessary to use a different convention than "m_", because some controls can have both a control variable and a value variable. In addition, it is often useful to be able to name the caption associated with some controls, such as an edit control. This is useful if you have to enable/disable the controls. Consider the case of an edit control, c_Text, which has a static control which is the caption. I use the prefix "x_" to indicate the caption. This introduces much sanity into the world. If I want to preload the text control by passing the value in, I create a value variable, m_Text. To access the control, I create a control variable, c_Text. To access its caption, I create a control x_Text. I never access the m_ variable within the dialog, unless I've provided a "reset to initial state" button which resets the control to its initial value. There is no need to access the value variable. If accessed, I only read it.

This means that the DDX calls will look something like

DDX_Control(pDX, IDC_TEXT, c_Text);
DDX_Text(pDX, IDC_TEXT, m_Text);
DDX_Control(pDX, IDC_TEXT_CAPTION, x_Text);

To enable or disable the text control and its corresponding caption you can then write something like

void CMyDialog::updateControls( )
    {
     BOOL enable;
     enable = ... 
     c_Text.EnableWindow(enable);
     x_Text.EnableWindow(enable);
    }

Note how clear this is. Easy to write, easy to understand, easy to maintain. What's that updateControls method? That's another essay!

Summary

The GetDlgItem method has limited usefulness in writing MFC code. If you write it, there is an excellent chance you are simply not using MFC correctly. Certainly there are exceptions, and I show one in my essay "Who Owns the GUI". But such instances are rare. A well-written MFC application will have no gratuitous instances of GetDlgItem, anywhere, and no instances of UpdateData in any modal dialog, ever.

智勇三国架构设计总结书 本文总结智勇三国网络版三年开发经验,梳理其基于MFC的CS架构,涵盖服务端、客户端及通信机制,强调数据一致性与版本控制。因维护成本高,提出重构内核计划,暂不采用QT以规避体积与兼容风险。重点阐述物理、数据、运行与逻辑架构,明确各层依赖关系,为后续系统优化与重写提供指导。 阅读详情

相关推荐

6与win7的兼容问题

                                                                    出自何丹的论坛这个问题经常有人问,因为我没有win7,所以也无法测试。我可以确定的是少部分人确实可以在win7上跑VC6,大部人不行。我把一些人的解决方案理出来,欢迎大家补充。 -------- 持啊,我的Windows 7一直支持,从7100到7260都是支

闻缺陷则喜何志丹 2250

7.6 【实例】目录监视器

7.6 【实例】目录监视器

qq_36314864的博客 627

光耦继电器电路分析

光耦电路的分析笔记

MingYue_SSS的博客 6919

微软技术日报 2026-11-22:讲述人绕过 Win11 锁屏、Copilot 拿到本地文件写权限、AI 三天重写一个应用

四件事里最需要立刻处理的是第一条。锁屏在过去十年一直是「人离开但不关机」这个默认习惯的安全前提,合盖的笔记本、会议室的投屏机、前台那台常年不关的电脑,全押在它上面。现在这个前提有了一个不需要密码的入口,而补丁还没出来。企业能做的只有把开机和解锁拆开,给盘加一道启动 PIN;做不到的,就关机。另外三条讲的是相反的方向。AI 在拿更多权限,从读文件到搬文件,从写代码到验证代码;平台在把更多算力做成按小时可租的现货;工具链在把更多动作交给智能体,自己退到评审和确认的位置。权限给出去容易,收回来难。

海盗Sharp的博客 545

嵌入式开发必备:UART、RS232、RS485通信协议实战对比(附代码示例)

本文从嵌入式开发实战角度,深度对比了UART、RS232和RS485三种核心串行通信协议。详细解析了它们的工作原理、硬件连接、代码配置及典型应用场景,并提供了基于通信距离、节点数量和电磁环境的三维度选型指南,帮助开发者根据项目需求做出最优技术决策。

i0j1k2l3m的博客 477

二、声明式 Pipeline 语法

选择型参数,一般用于给定几个可选的值,然后选择其中一个进行赋值,例如:parameters { choice(name: ‘CHOICES’, choices: [‘one’, ‘two’, ‘three’], description: ‘’) },表示定义一个名为 CHOICES 的变量,可选的值为 one、two、three;默认情况下,如果定义了某个 stage 的 agent,在进入该 stage 的 agent 后,该 stage 的 when条件才会被评估,但是可以通过一些选项更改此选项。

Cyan_Jiang的博客 1227

微软拼音输入卡顿:清理临时文件并设置自动清理

本文记录我遇到的一次微软拼音输入卡顿问题,解决方法参考微软问答,并已在自己的 Windows 10 主机上验证。

H'Senseiの工坊 196

ArcGIS渔网分割实战:用Create Fishnet快速生成1km×1km网格(附GDP数据分析案例)

本文详细解析了ArcGIS中Create Fishnet工具在渔网分割中的应用,从基础操作到GDP空间分析全流程。通过1km×1km网格的创建与优化,实现经济数据的空间标准化和可视化表达,解决数据融合与分析的三大核心痛点。

weixin_29250403的博客 304

微软技术日报 2026-11-23:Entra 接口被读 109 天、Win11 安全基线、M365 最终报告

这一天有四条线,落点各不一样。Entra Connect Health 这条,讲的是一个监控层接口的 109 天。它没有被分配 CVE,没有公告页,能留下的公开痕迹是一份发到租户控制台的通知和一篇报道。对做安全的人来说,这件事最实用的部分不是漏洞本身,是那份暴露字段清单,它准确描述了「一次身份层侦察能拿到什么」。Windows 11 基线保护这条,讲的是把分散的判定收成一处。八个开关一直都在,缺的一直是一个统一答案,让用户知道自己的机器到底算不算干净,让应用有一个不必自己实现八次检查的接口。

海盗Sharp的博客 734

STLink驱动安装全攻略:从卸载到Keil配置的完整避坑指南

本文提供了STLink驱动安装与Keil环境配置的完整避坑指南。详细讲解了从驱动卸载、重装到Keil调试器设置的每一步,并针对常见的设备无法识别、连接不稳定等问题给出了深度解决方案,帮助开发者快速搭建稳定的STM32开发环境。

weixin_29182481的博客 432

从零搭建:C#+YOLOv8质检系统(从相机选型到上位机部署,附完整开发流程与源码)

后来换成45°斜射的条形光源,光线从侧面打在引脚上,弯曲处会形成暗区,缺陷边缘立刻清晰——光源预算别省,我这套光源+支架才600块,比换相机划算多了。前阵子帮一家电子厂做连接器引脚缺陷检测,他们原来靠2个师傅用放大镜看,每天8小时最多检5000个,0.2mm的针脚弯曲还经常漏检,不良品流到客户那里,单月罚款就超5万。做质检第一步不是挑设备,是先明确“要检测多大的缺陷”——比如我要检的连接器引脚,直径0.5mm,允许的最大弯曲是0.2mm,这直接决定相机分辨率。,后面C#就用这个模型推理。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 1280

甘特图交互与数据一致性设计:拖拽换算、依赖连线、父子聚合与配额口径

FS 关系的有向图,按拓扑序有限次遍历推进(只前进不回拉),循环依赖用 DFS 检测拒绝。改一个日期,后续任务链式顺延。:接单时需要给客户发排期,重型 PM 工具太重、Excel 改期太痛。目标:网页打开即用,十分钟生成能发客户的排期图。:https://paiqitu.com/app/share/eGzXTHzR (真实页面,带进度条和依赖连线):自增 ID 重编号后漏改父子引用;AUTO_INCREMENT 只升不降,用表交换法重置。

199

C#联合Halcon机器视觉框架源码

本软件参考EV开发,共用模块,基于WPF+Halcon,是非常不错的学习框架,需要什么功能可以自己添加,插件式开发非常方便。

Z's Palace 4846

微软技术日报 11 月 26 日:VS Code 1.148 让智能体不再被休眠打断、SSMS 用 Copilot 读执行计划、NTLM 签名撞上第三方认证

11 月 25 日到 26 日这 24 小时,微软在四条线上各有动作:VS Code 发布 1.148 稳定版,把「智能体跑长任务时机器会不会睡过去」做成正式开关;SQL Server Management Studio 把查询性能调优塞进了 Copilot 的代理模式;十一月累积更新的 NTLM 签名第一阶段开始反噬部分第三方认证设备;Azure Local 的 2610/2611 更新则把边缘节点的 GPU 配置从脚本里搬进了门户。此外还有一条被漏发的 9.8 分 Visio 漏洞公告。

海盗Sharp的博客 382

【使用DeepSeek辅助Python接口性能自动化测试教程-实战教程】

访问DeepSeek官方网站,注册账号并获取API Key。此Key是调用DeepSeek API的必要凭证,务必妥善保管。安装时,注意勾选“Add Python to PATH”选项,以便系统能识别Python命令。确保你已安装Python 3.8或更高版本。会自动发现并执行所有以。

Dreams°的博客 2471

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

微软技术日报 2026-11-27:Copilot 伴生应用因内存退役,APIM 密钥要自己换

四条消息拼在一起,指向同一件事的不同侧面。三款伴生应用退役,是微软给自己 2025 年那轮「把 Copilot 铺到每个角落」的做法做了减法。减法比加法难,因为它等于承认一个已经装到几百万台机器上的东西不划算。这类回收本周还有第二笔,就是 860MB 内存优化里属于 Defender、OneDrive、Purview 的那 500MB。APIM 那条说明云上的修复天然分两半。平台那半微软一天能做完,客户那半得一个密钥一个密钥地过,还得先知道自己有哪些实例。把这两半混为一谈,是这次事件里最容易犯的错误。

海盗Sharp的博客 472

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

深度 | 决策模型抢滩:OpenAI 微软同周下场,大模型从生成文本转向输出概率判断

微软发布决策模型 Microsoft-Decision-1,基于阿里 Qwen3.5-9B 后训练,专注判断任务,不生成文本。该模型以低至 0.042 美元/百万 token 的成本实现高精度、低延迟判断,推动“决策”从生成模型中独立出来,形成新品类。六周内,OpenAI、TypeSafe 等纷纷入局,问题类型趋同但接口标准分裂,适配层如 LiteLLM 正在统一方言。这一趋势标志着“概率”正成为可计价、可审计的原子能力,预示 AI 架构向更高效、可信赖的分层演进。

summerliyang的博客 366

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

微软 365 全球中断最终复盘:一处锁竞争缺陷,如何借自动流量调度从北美扩散到全球

微软365于11月12日全球中断,最终复盘确认非网络攻击或AI工具所致,根因是网关服务器中潜伏三个月的锁竞争缺陷,在新款多核服务器上叠加容量缩减、Teams故障转移及美国日高峰流量后爆发。本用于保护系统的自动流量调度反而将故障扩散至全球,导致超80%北美服务器失效。恢复缓慢因“惊群效应”及定位困难,需逐单元修复。微软已回退变更、加强监控与冗余,并计划2027年前完成架构优化。企业应警惕自动转移的边界问题,避免“挪过去一起倒”。

2601_96080144的博客 598

微软宣布 Windows 11 中的蓝牙 MTP、家庭安全桌面 App 将逐步移除

微软近期将蓝牙MTP文件传输与内置家庭安全应用列入弃用清单,二者将逐步淘汰。蓝牙MTP仅限无线浏览设备媒体文件,速度慢且使用少,日常小文件传输(OPP)不受影响;家庭安全App虽停更,但家庭管控功能仍可通过网页或移动端延续。推荐替代方案包括USB MTP连接、Phone Link及云盘。此举为清理低频老旧组件,多数用户无感,仅少数依赖者需提前迁移。

jianlu365的博客 198

不买微软账号、不绑主域名:用 Entra ID B2B Direct Federation 打通 Google Workspace 访问 Azure

把本文方案与企业级“全域名联合”放在同一个工程坐标系下做对照,各自的适用边界非常清晰。查看下面这张多维对比表时,可以重点对比“域名与配置复杂度”与“微软账号与许可成本”两行:对于以 Google Workspace 为日常核心底座、仅将 Azure 作为部分业务或基础设施托管平台的技术团队而言,B2B Direct Federation 用极低的运维投入(一个自定义 SAML 应用加一条 DNS TXT 记录),同时拿到了。

十年运维开发经验的王义杰在此分享自己的知识和经验 269

C++ 跨语言交互实战:C++ 与 Python/Go 的 FFI 绑定与性能损耗控制

C++ 跨语言交互的本质是「用 C ABI 做稳定边界,用批量与零拷贝做性能优化」。

Ur8EGCBK5的博客 290

微软技术日报 2026-11-28:Agent Framework 包被投毒、应用目录权限收紧

11 月 17 日晚上 8 点半到 9 点半(UTC),微软开源项目 Microsoft Agent Framework 的 Python 包在 PyPI 上出现了两个不该出现的版本。1.26.1 与 1.26.2,一共在架上待了大约五十五分钟,期间任何一次不带版本锁的都可能装上它们。这两个包里有窃取凭据的代码。

海盗Sharp的博客 491
上一篇: C++语言代码检查工具PC-Lint简介
下一篇: VC6中MSDN部分链接无效的解决办法
subo86
博客等级 码龄20年 35粉丝 51原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值