Qt-Nice-Frameless-Window icon indicating copy to clipboard operation
Qt-Nice-Frameless-Window copied to clipboard

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

Open QQ10Year opened this issue 4 years ago • 1 comments

父窗口: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消息

QQ10Year avatar May 09 '20 08:05 QQ10Year

你可以参考 issues #11

douzhongqiang avatar Jun 02 '20 02:06 douzhongqiang