So, i was looking in the web around this problem that i have but was not able to find a solution and i was thinking that i should not post the question on github so here we are.
As first, i’m pretty new to ImGUI Now, im creating a simple Window in C++ with windows api (RegisterClassEx & CreateWindow)
//Class structure wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = myWndProc_Hanlder; wcex.hInstance = tInstance; wcex.hIcon = 0; wcex.hCursor = LoadCursor(0, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); wcex.lpszMenuName = 0; wcex.lpszClassName = className;
Now i setup directx9 on the window and i just clear the window with some random colors and no more drawings. Setup imgui and everything works fine but my problem is when i resize my ‘SimpleWindow’ when i click on let’s say the imgui resize thing in the corner of a imgui object i can’t click on it i mean the point to resize the window still stands on the old place. Im not sure if i could explain my problem so i will post a screenshot with explanation.