不是用那个fsStayOnTop,那样的话他就总在最前了,就和VB中的form.show 1 一样,只在自己程序的最端。
解决方案 »
- 连号球走势---算法问题
- Delphi中使用DBGrid修改数据表主键错误问题
- 怎么监视系统正在打开的文档?
- 求等待线程数组结束的写法
- sql server 建表的问题??
- DELPHI平台下能不能引用C语言开发的DLL?如果能请详细指教!最好有原代码!!
- G.723.1播放方案征集!如果有成熟方案可以考虑商务购买问题!up有分。
- DELPHI adodataset 控件 NewRecord 事件问题
- 关于Delphi中的WebBrowser编程的问题(WebBrowser组件)?
- 新手该学C++builder 好,还是DELPHI好
- DBGrid1中某一列的宽度能不能动态给出?
- 如何在移动鼠标到listview列头的时候改变字体颜色?
HWND hWnd // handle to window
);
Parameters
hWnd
[in] Handle to the top-level window to be activated.
Return Values
If the function succeeds, the return value is the handle to the window that was previously active. If the function fails, the return value is NULL. To get extended error information, call GetLastError.Res
The SetActiveWindow function activates a window, but not if the application is in the background. The window will be brought into the foreground (top of Z order) if its application is in the foreground when the system activates the window. If the window identified by the hWnd parameter was created by the calling thread, the active window status of the calling thread is set to hWnd. Otherwise, the active window status of the calling thread is set to NULL.By using the AttachThreadInput function, a thread can attach its input processing to another thread. This allows a thread to call SetActiveWindow to activate a window attached to another thread's message queue. Requirements
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Winuser.h; include Windows.h.
Library: Use User32.lib.
晕