在vc6中资源选项卡的对话框中插入对话框的问题

gxhzippo 2010-01-21 09:24:09
插入对话框后为资源关联一个类,rc文件中对话框的样式是DIALOGEX的是怎么回事?什么情况下是DIALOG,什么情况下是DIALOGEX?哪位大侠指点一下?先谢了
...全文
185 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
gxhzippo 2010-02-25
  • 打赏
  • 举报
回复
自己顶起,高手看过来
gxhzippo 2010-01-26
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 marrco2005 的回复:]
引用 3 楼 gxhzippo 的回复:
引用 1 楼 zoulie 的回复:
DIALOGEX是带有extented stytle?

是的,但是不知道这两个样式分别在什么条件下建立的


看msdn

DIALOGEX Resource
The DIALOGEX resource-definition statement specifies a dialog box. The statement defines the position and dimensions of the dialog box on the screen as well as the dialog box style. It also defines the following:


Help IDs on the dialog itself as well as on controls within the dialog box.
Use of the EXSTYLE statement for the dialog box itself as well as on controls within the dialog box.
Font weight and italic settings for the font to be used in the dialog box.
Control-specific data for controls within the dialog box.
Use of the BEDIT, IEDIT, and HEDIT predefined system class names.
[/Quote]
我insert 了一个对话框,保存工程,这时rc文件中该对话框是DIALOG样式的,然后往该对话框里面添加了若干控件,对这些控件进行了一些操作,比如移动位置,然后保存工程,打开rc文件后就变成DIALOGEX样式的了,这个是怎么回事呢?
marrco2005 2010-01-22
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 gxhzippo 的回复:]
引用 1 楼 zoulie 的回复:
DIALOGEX是带有extented stytle?

是的,但是不知道这两个样式分别在什么条件下建立的
[/Quote]

看msdn

DIALOGEX Resource
The DIALOGEX resource-definition statement specifies a dialog box. The statement defines the position and dimensions of the dialog box on the screen as well as the dialog box style. It also defines the following:


Help IDs on the dialog itself as well as on controls within the dialog box.
Use of the EXSTYLE statement for the dialog box itself as well as on controls within the dialog box.
Font weight and italic settings for the font to be used in the dialog box.
Control-specific data for controls within the dialog box.
Use of the BEDIT, IEDIT, and HEDIT predefined system class names.
岁月小龙 2010-01-22
  • 打赏
  • 举报
回复
默认的就可以了
gxhzippo 2010-01-21
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 zoulie 的回复:]
DIALOGEX是带有extented stytle?
[/Quote]
是的,但是不知道这两个样式分别在什么条件下建立的
gxhzippo 2010-01-21
  • 打赏
  • 举报
回复
是的,但是不知道这两个样式分别在什么条件下建立的
zoulie 2010-01-21
  • 打赏
  • 举报
回复
DIALOGEX是带有extented stytle?

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧