我有一个应该是父对象的窗口句柄,但在表单上看不到任何用于SetParent()的托管方法。有吗?似乎form.Show()方法只接受实现IWin32Window的托管对象。:Private Shared Function SetParent(hWndChild As IntPtr, hWndNewParent As
当我尝试用setParent更改布局的位置时,结果是不起作用的或奇怪的。以下是工作原理:movingHlayout = new QVBoxLayout(ui.tab_2);movingHlayout->addWidget(ui.txDiag_1);ui.txDiag_1->setParent(ui.t