如何检查mdi子进程已经运行?
请帮助我..我有一个使用 MDI 应用程序的项目。我的问题是,如何检查 mdi 孩子是否已经运行..?请帮我..
please help me.. i have a project use mdi application. my question is, how to check mdi child already running or not..? please help me..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用以下技术,但它需要每个表单类型都有一个特定的子(我使用的是 VB.NET)。不过,我确信可能有一种方法可以简化此操作,以使用一个子项处理所有子表单
以下子项适用于所有表单。
I use the following technique, but it requires a specific Sub for each Form type(I'm using VB.NET). However I'm sure there could be a way to simplify this to handle all child forms with one sub
The following sub works for all forms.
创建 MDI 窗口时,您使用了 WM_MDICREATE 对吗?该消息返回一个窗口句柄,您应该将该句柄保存在某处,以便稍后要查找该窗口或检查它是否存在时可以引用它。
When you created the MDI window, you used WM_MDICREATE right? Well that message returns a window handle, You should save that handle somewhere so that you can refer to it if you want to find the window later or check to see if it exists.