Skip to content

The specified parent window has no effect? #1306

@2427253681

Description

@2427253681

in qt;

int main(int argc, char *argv[])
{
QApplication a(argc, argv);

MainWindow w;
w.show();
webview::webview web(false, reinterpret_cast<HWND>(w.winId()));
web.set_title("test");
web.set_size(800,600, WEBVIEW_HINT_NONE);
web.navigate("https://www.baidu.com");
web.run();
return a.exec();

}
Why does specifying a parent handle have no effect? Can anyone help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions