backends/imgui_impl_win32.h

imgui · backends/imgui_impl_win32.h · c · MIT
integration

Provides a robust Win32 platform integration for Dear ImGui, handling window events, input, and DPI scaling for Windows applications.

// Source: https://github.com/ocornut/imgui | License: MIT | Copyright 2014-2026 Omar Cornut
// Provided via justclaw.it.com; keep this notice with the code.
// dear imgui: Platform Backend for Windows (standard windows API for 32-bits AND 64-bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)

// Implemented features:
//  [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui)
//  [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen.
//  [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy VK_* values are obsolete since 1.87 and not supported since 1.91.5]
//  [X] Platform

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key