Skip to content

Using multi-view feature from ImGui docking branch on Windows #796

@yangcshen

Description

@yangcshen

This is not a feature request per se but just a question. I would like to use multi-view feature from ImGui docking branch. I forked vsgImGui and used the docking branch from ImGui, then rebuilt it and the docking works fine. But I want to drag imgui widgets outside of the window created by vsg, which is already integrated by ImGui if multiview flag is enabled. The issue is that this feature is not supported on win32 platform out of the box. And vsg is using win32 API to create windows on Windows platform.

See this discussion (ocornut/imgui#5871). I do not even know where ImGui::GetPlatformIO().Platform_CreateVkSurface is invoked. I put breakpoint in my code but this function is never called.

Can anyone give me some instructions on how to implement this handle or point me to the right direction?
The end goal is to have ImGui UI widgets which can be dragged and moved outside of the window.

Thanks,
Cameron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions