参考://--https://blog.csdn.net/my_angle2016/article/details/103385517
HWND hwnd = FindWindow("Qt5QWindowIcon ", NULL);
ShowWindow(hwnd, SW_RESTORE);
::SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
mfc 窗体置顶
最新推荐文章于 2022-10-07 21:48:20 发布
本文介绍如何通过FindWindow函数找到Qt5应用程序的窗口,并使用ShowWindow和SetWindowPos函数将其恢复显示并置顶。重点在于Windows API调用技巧。

493

被折叠的 条评论
为什么被折叠?



