Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

无法设置窗口置顶 #69

Closed
MarioCrane opened this issue Sep 22, 2020 · 1 comment
Closed

无法设置窗口置顶 #69

MarioCrane opened this issue Sep 22, 2020 · 1 comment

Comments

@MarioCrane
Copy link

setWindowFlags(Qt::WindowStaysOnTopHint);
设置QCefView的窗口置顶会导致程序崩溃

@MarioCrane
Copy link
Author

找到解决方法了....
::SetWindowPos((HWND)m_cefView->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant