@ -177,21 +177,27 @@ IMGUI_API LRESULT ImGui_ImplDX9_WndProcHandler(HWND, UINT msg, WPARAM wParam, LP
switch (msg)
{
case WM_LBUTTONDOWN:
SetCapture( hWnd );
io.MouseDown[0] = true;
return true;
case WM_LBUTTONUP:
ReleaseCapture();
io.MouseDown[0] = false;
case WM_RBUTTONDOWN:
io.MouseDown[1] = true;
case WM_RBUTTONUP:
io.MouseDown[1] = false;
case WM_MBUTTONDOWN:
io.MouseDown[2] = true;
case WM_MBUTTONUP:
io.MouseDown[2] = false;
case WM_MOUSEWHEEL: