HWND hwnd = ::CreateWindowW(wc.lpszClassName, L"Dear ImGui DirectX9 Example", WS_POPUP, GetSystemMetrics( SM_CXSCREEN ) / 2 - gui.get_size( ).x / 2, GetSystemMetrics( SM_CYSCREEN ) / 2 - gui.get_size( ).y / 2, gui.get_size( ).x, gui.get_size( ).y, NULL, NULL, wc.hInstance, NULL);
IMGUI_CHECKVERSION();
ImGui::CreateContext();
SetWindowRgn( hwnd, CreateRoundRectRgn( 0, 0, gui.get_size( ).x, gui.get_size( ).y, ImGui::GetStyle( ).WindowRounding, ImGui::GetStyle( ).WindowRounding ), true );