如何在属性表中添加标签 [英] How to add label to property sheet

查看:85
本文介绍了如何在属性表中添加标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将文本添加到属性表中

How can I add a Text to the property sheet

推荐答案

将其拖到设计视图中的属性表上.这使其成为该控件的子级,因此它仅显示在该页面上.
Drag it onto the property sheet in the design view. That makes it a child of that control, so it appears on that page only.


您可以将标题传递给构造函数或
通过使用SetTitle()成员函数.

CPropSheetDlg propSheet(L"PropertySheet Example");
propSheet.SetTitle(L新标题");

:)
You can pass the title to the constructor or
by using the SetTitle() Member function.

CPropSheetDlg propSheet(L"PropertySheet Example");
propSheet.SetTitle(L"New Title");

:)


我不想设置属性表的标题.我需要在工作表的底部添加一个标签.
I dont want to set the title of the property sheet. I need to add a label at the bottom of the sheet.


这篇关于如何在属性表中添加标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆