MDI应用程序中的无模型对话 [英] MODELESS dialogue in MDI Application

查看:82
本文介绍了MDI应用程序中的无模型对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使无模式对话框表现得像一个

Is it possible to make a modeless dialog act like a
proper MDI child of a non-MFC application?

推荐答案

我认为要执行此操作,必须回到Win32编程的根源.
要使窗口成为"MDI子级",通常在窗口样式中包含WS_CHILD,并将父窗口设置为应用程序的主窗口.您可能还需要检查其他几种样式(就窗口的框架和剪辑状态而言).

希望这会有所帮助,
-Momony
I think to do this you have to go back to the roots of Win32 programming.

To make a window an "MDI child", you generally include WS_CHILD in the Window Style, and set the parent window to the application''s main window. There are probably a few other styles you have to check as well (in terms of the window''s frame, and clip status).

Hope this helps,
-Momony


这篇关于MDI应用程序中的无模型对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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