Hi Sujan,
It's not clear to me why you want to use fromWinId? Do you want two
applications in separate processes to share the same windows? The title
bar and menu are drawn by special win32 non-client events - but they may
be suppressed, since the window is now being hosted in your app. With
more information, maybe someone can help you - don't just repeat the
same details in another post!
Regards, Tony
On 28/02/2020 11:13 pm, Sujan Dasmahapatra wrote:
Dear Friends,
My External Application Window title, is missing in my QWindow. I am
trying to set this window on a Widget and finally I am displaying this
widget on QScrollBar. But I am missing the Window title and menu bar
from the app. Please check the code snippet below.
QWindow* window = QWindow::fromWinId(id);
QWidget* widget = QWidget::createWindowContainer(window);
_gui->scrollArea->setWidget(widget);
With this snippet, I can see the app is launched, but it's Title
header text, is not opening.
Please advise me what is going wrong. I have to see the window title
and most importantly the menu bar as well.
regards
sujan
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest