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

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

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

BoneMatrix_
CS2 & Skeleton Math
MEMBER
Rep: 190
Join Date: Aug 2024
Posts: 21
Thanks: 47
4y ago · Aug 22, 2021 1:03 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.
BoneMatrix_ · Source 2 Skeleton ESP & Hitboxes
The following users thanked BoneMatrix_ for this post:
CitizenNative
RAGE Engine & FiveM Dev
VIP
Rep: 315
Join Date: Sep 2022
Posts: 21
Thanks: 82
4y ago · Aug 22, 2021 3:41 PM
#2
Setting up viewport platform bindings allows ImGui windows to become independent floating OS desktop windows with their own HWNDs.
CitizenNative | RAGE Engine & FiveM Native Calls
DisasmGeek
Capstone & Keystone Specialist
MEMBER
Rep: 160
Join Date: Dec 2024
Posts: 21
Thanks: 38
4y ago · Aug 23, 2021 6:41 PM
#3
The docking layout persistence via imgui.ini makes tool dashboards remember user window arrangements across restarts.
DisasmGeek · Capstone / Keystone Engine Integration