[英]Add QT window to chrome browser window
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我在记事本中添加qt window是可以的,但是在chrome浏览器window中添加QT window失败了,qt代码很快就消失了
Consider that QT interface has its own coordinate system mechanism考虑到QT接口有自己的坐标系机制
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.