my code as follows:
HWND hwnd = (HWND)FindWindow(L"Notepad", NULL);//Chrome_WidgetWin_1 Notepad
SetWindowPos( (HWND)w.winId(),HWND_TOPMOST ,200,200,200,232,SWP_NOSIZE|SWP_SHOWWINDOW );
SetParent((HWND) w.winId(),hwnd);
I add qt window to Notepad is ok,but add QT window to chrome browser window is failed,the qt code is quickly disappear
Consider that QT interface has its own coordinate system mechanism
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.