社区
Delphi
帖子详情
怎么知道某个MDIChild窗体是否已经存在?FindWindow不起作用。
eaglezhao
2003-08-25 03:30:37
我想判断某个子窗体是否已经被显示,用FindWindow无论在什么状态下返回都不是0。
我的语句是这样的:
if FindWindowEx('TfrmModiPoint','frmModiPoint')=0 then
各位大虾帮帮忙。
...全文
76
3
打赏
收藏
怎么知道某个MDIChild窗体是否已经存在?FindWindow不起作用。
我想判断某个子窗体是否已经被显示,用FindWindow无论在什么状态下返回都不是0。 我的语句是这样的: if FindWindowEx('TfrmModiPoint','frmModiPoint')=0 then 各位大虾帮帮忙。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
eaglezhao
2003-08-26
打赏
举报
回复
多谢,结账。
lxpbuaa
2003-08-25
打赏
举报
回复
如果你是指当前显示的是否是TfrmModiPoint,可用:
if Form1.ActiveMDIChild.ClassNameIs('TfrmModiPoint') then
————————————————————————————————————
宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
————————————————————————————————————
lxpbuaa
2003-08-25
打赏
举报
回复
var
I: Integer;
begin
with Form1 do
for I := MDIChildCount-1 downto 0 do
if MDIChildren[I].ClassNameIs('TfrmModiPoint') then
end;
————————————————————————————————————
宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
————————————————————————————————————
如何获得WIN32
窗体
中控件的样式属性(C#)
这阵子弄C# 调用WIN32 API互操作,想从Winform中查询外部WIN32程序
窗体
中的某个按钮
是否
可用,就是灰色或者黑色显示,找了些资料,解决了,特记录如下: 代码: public partial class Form1 : Form { [DllImport("User32.dll", EntryPoint = "Find
Window
")]
[转]将一个
窗体
置入另一
窗体
http://bbs.csdn.net/topics/390768725 http://blog.163.com/kingmax_res/blog/static/7728244220112204185169/ using System; using System.Collections.Generic; using System.ComponentModel; using Syste...
C#嵌入其他程序
窗体
参考网址:https://www.cnblogs.com/xiaoa/p/4308573.html https://max.book118.com/html/2017/0706/120670327.shtm 主要的代码部分 [DllImport("user32.dll", SetLastError=true)] private static e...
winform 嵌入 外部 exe
窗体
winform 嵌入 外部 exe
窗体
exe程序嵌入Winform
窗体
exe程序嵌入Winform
窗体
Delphi
5,386
社区成员
262,729
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章