The IsWindow function determines whether the specified window handle identifies an existing window. BOOL IsWindow( HWND hWnd // handle of window
);
ParametershWndSpecifies the window handle. Return ValuesIf the window handle identifies an existing window, the return value is nonzero.
If the window handle does not identify an existing window, the return value is zero.
);
ParametershWndSpecifies the window handle. Return ValuesIf the window handle identifies an existing window, the return value is nonzero.
If the window handle does not identify an existing window, the return value is zero.
解决方案 »
- 关于使用alphacontrol不美化动态创建子窗体的问题
- Synchronize(method)如何传递参数进method?
- 如何设置导出的excel表中的第一行各个单元格中的文字可以自动换行,在excel表中显示完全。
- 将按钮扁平
- 请问各位高手,对Tpanel如何实现放大镜功能???
- DoVerb的作用?
- speedbutton的显示问题 up有分 解决立即给分!!!!!!!!!
- 函数参数问题
- 用keybd_event模拟键盘发送的消息能否指定接收窗口(另一个程序)?
- Delphi与VB谁的调试更方便????
- 如何在DELPHI中设置串口及向串口读写数据,在线等待,
- 问个比较傻的问题。Delphi中如何让非MainForm的窗体,在windows任务栏上显示标题
GetWindowRect()本来是用来取得一个窗体的矩形范围,调用失败返回0,也就是窗体不存在了, ......
我还是觉得楼上的方法是最好的.
GetWindowRect()本来是用来取得一个窗体的矩形范围,调用失败返回0,也就是窗体不存在了, ......
我还是觉得楼上的方法是最好的.
//...存在
else
//...Form2.handle已被free,或未创建