Home / Forums / Multi-Window Docking & Viewports in Dear ImGui (docking branch) [Discussion #4]

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Multi-Window Docking & Viewports in Dear ImGui (docking branch) [Discussion #4]

FastMath
SIMD Math Library
MEMBER
Rep: 49
Join Date: Dec 2025
Posts: 6
Thanks: 71
1y ago · Nov 4, 2024 12:18 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.
FastMath · SIMD Math Library
Header-only C++ matrix math library author. Fast vectors and...
The following users thanked FastMath for this post:
VectorByte
Graphics & DirectX Dev
VIP
Rep: 420
Join Date: Aug 2022
Posts: 39
Thanks: 115
1y ago · Nov 4, 2024 3:37 PM
#2
Setting up viewport platform bindings allows ImGui windows to become independent floating OS desktop windows with their own HWNDs.
VectorByte | DirectX 11/12 Hooking & ImGui Overlays
Quote
Math is the language of game engines.
MatrixRecon
3D Math & Vectors
MEMBER
Rep: 225
Join Date: Jan 2025
Posts: 33
Thanks: 55
1y ago · Nov 5, 2024 4:37 PM
#3
The docking layout persistence via imgui.ini makes tool dashboards remember user window arrangements across restarts.
MatrixRecon · 3D Mathematics & View Matrix Calculations