You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is just a basic imgui window with ImGuiWindowFlags window_flags = 0; window_flags |= ImGuiWindowFlags_NoBackground; window_flags |= ImGuiWindowFlags_NoTitleBar; setup but it doesn't work. I've looked into other issues and applied their patches to imgui.cpp but they didn't solve the issue.
I am trying to use imgui as a .dll and inject into any process and create overlays and not need to use applications rendering as I don't want to have to hook. When I compile the code as an .exe it works fine and there is transparency and styling able to be applied to the imgui windows. When it's compiled as an .dll and injected into a process the imgui windows always have a black background regardless of styles.
Even in my custom project where I render textures to use as backgrounds or controls the buttons I can make transparent but the background window I cannot. The textures will render but the background will be black regardless of the texture being transparent.
Version/Branch of Dear ImGui:
Version v1.88, Branch: Got from releases
Back-ends:
imgui_impl_DX11.cpp + imgui_impl_WIN32.cpp
Compiler, OS:
Windows 11, Visual Studio 22
Full config/build information:
Details:
So this is just a basic imgui window with
ImGuiWindowFlags window_flags = 0; window_flags |= ImGuiWindowFlags_NoBackground; window_flags |= ImGuiWindowFlags_NoTitleBar;
setup but it doesn't work. I've looked into other issues and applied their patches to imgui.cpp but they didn't solve the issue.I am trying to use imgui as a .dll and inject into any process and create overlays and not need to use applications rendering as I don't want to have to hook. When I compile the code as an .exe it works fine and there is transparency and styling able to be applied to the imgui windows. When it's compiled as an .dll and injected into a process the imgui windows always have a black background regardless of styles.
Even in my custom project where I render textures to use as backgrounds or controls the buttons I can make transparent but the background window I cannot. The textures will render but the background will be black regardless of the texture being transparent.
Screenshots/Video:
Top is internal .dll
This is external .exe
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: