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

父窗口不能接收到WM_GETMINMAXINFO、WM_NCCALCSIZE、WM_NCHITTEST #44

Open
QQ10Year opened this issue May 9, 2020 · 1 comment

Comments

@QQ10Year
Copy link

QQ10Year commented May 9, 2020

父窗口:parentDialog
子窗口:childDialog

第一种情况:
父窗口parentDialog使用以下方法创建子窗口
childDialog = new ChildDialog();//父窗口创建子窗口:没有指定了parent
父窗口parentDialog的事件处理方法nativeEvent,能接收到WM_GETMINMAXINFO、WM_NCCALCSIZE、WM_NCHITTEST消息

第二种情况:
父窗口parentDialog使用以下方法创建子窗口
childDialog = new ChildDialog(this);//父窗口创建子窗口:指定了parent
父窗口parentDialog的事件处理方法nativeEvent,不能接收到WM_GETMINMAXINFO、WM_NCCALCSIZE、WM_NCHITTEST消息

@douzhongqiang
Copy link

你可以参考 issues #11

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

No branches or pull requests

2 participants