I find a pretty weird bug while using the imgui dx12 example. When I double-click the window's title bar to maximize the window, the program failed in recreating the command allocator. But click the window's maximize button or resize the window is ok. The graphics driver might cause this problem, because it only happens when I run the program with the integrated intel graphics card.
Asked
Active
Viewed 195 times
-1
-
1imgui is a concept not a product. Clarify what you are actually using. For example the term may refer to IMGUI mode in Unity or the open-source product ImGui (both capitalised in the way I have written). Either way a question without code is likely to get closed or down-voted. – Clifford Feb 22 '20 at 08:35
1 Answers
0
At the Win32 API level, double-clicking on the non-client area (the title bar) causes a WM_NCLBUTTONDBLCLK, whilst the maximise/resize will cause a WM_SYSCOMMAND.
If neither is processed by the client, the system will perform default behaviour and issue a WM_SIZE to inform of the action.
What ImGui does with these events I cannot tell you.

Clifford
- 88,407
- 13
- 85
- 165