SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP - Man Page

A variable controlling whether the windows message loop is processed by SDL.

Synopsis

#include <SDL3/SDL_hints.h>

#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP"

Description

The variable can be set to the following values:

· "0": The window message loop is not run.

· "1": The window message loop is processed in SDL_PumpEvents(). (default)

This hint can be set anytime.

Availability

This hint is available since SDL 3.2.0.

Referenced By

SDL_SetWindowsMessageHook(3), SDL_WindowsMessageHook.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS