Home / Forums / Multi-Window Docking & Viewports in Dear ImGui (docking branch)

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Multi-Window Docking & Viewports in Dear ImGui (docking branch)

AsmDisasm
x86_64 Disassembler Dev
MEMBER
Rep: 145
Join Date: Feb 2025
Posts: 23
Thanks: 36
5y ago · Aug 4, 2021 2:51 PM
#1
How to set up the Dear ImGui docking branch with ImGuiConfigFlags_DockingEnable and ImGuiConfigFlags_ViewportsEnable to drag windows outside the main game window.
AsmDisasm · Zydis & Opcode Length Disassembly
The following users thanked AsmDisasm for this post:
PEHeader
PE Format & Linker Tech
VIP
Rep: 350
Join Date: Jun 2023
Posts: 35
Thanks: 95
5y ago · Aug 4, 2021 4:27 PM
#2
Setting up viewport platform bindings allows ImGui windows to become independent floating OS desktop windows with their own HWNDs.
PEHeader | IMAGE_NT_HEADERS & Section Parsing
GhostHunter_x
Unity & Phasmo Modder
VIP
Rep: 275
Join Date: Apr 2023
Posts: 17
Thanks: 71
5y ago · Aug 5, 2021 10:27 PM
#3
The docking layout persistence via imgui.ini makes tool dashboards remember user window arrangements across restarts.
GhostHunter_x · Phasmophobia & Unity Reverser
GhostAI, Sanity, EMF & Evidence inspection