Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On WindowsOS: CFramelessWindow can not have a child CFramelessWindow #11

Open
Bringer-of-Light opened this issue Jan 25, 2018 · 2 comments

Comments

@Bringer-of-Light
Copy link
Owner

On WindowsOS:

CFramelessWindow* mainWin = new CFramelessWindow();
CFramelessWindow* subWin= new CFramelessWindow(mainWin );

these will break the dragable/resizeable feature of mainWin!

@Bringer-of-Light Bringer-of-Light changed the title On WindowsOS: CFramelessWindow can not have an child CFramelessWindow On WindowsOS: CFramelessWindow can not have a child CFramelessWindow Jan 25, 2018
@Bringer-of-Light
Copy link
Owner Author

Still don't know how to fix this issue. It is relative to the Qt Event System, and looks like that this issue is unsolveable.

@Protostars
Copy link

我在我的项目KikoPlay使用了你的Qt-Nice-Frameless-Window
按照我的经验,如果不在构造函数里调用winId()就能避免这个问题
你可以试试将CFramelessWindow构造函数里的setResizeable放到其他地方执行,比如showEvent

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

No branches or pull requests

2 participants