-
问题内容:api里面什么函数可以让窗口OnTop?
- 原讨论链接:http://community.csdn.net/expert/topicview1.asp?id=5037814
- 所属论坛:基础类
审核组:VC/MFC
- 提问者:limigy
解决者:rabo
- 感谢:zhucde
- 关键字:VC/MFC 函数 API 基础类 里面 hwnd window child activated bringwindowtotop ontop top-level
- 答案:
api里面什么函数可以让窗口OnTop?
---------------------------------------------------------------
SetForegroundWindow()
---------------------------------------------------------------
BringWindowToTop
The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.
BOOL BringWindowToTop(
HWND hWnd // handle to window
);
- 评价:
给朵鲜花(10)
扔个鸡蛋(6)