SDL_HINT_WIN...E_MESSAGELOOP(3)

πŸ’– NAME πŸ’–

SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP β€” bestie, it's the variable that controls whether the Windows message loop gets processed by SDL. That's the whole gig. πŸ‘‘


✨ SYNOPSIS ✨

#include <SDL3/SDL_hints.h>

#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP"

πŸŽ€ DESCRIPTION πŸŽ€

okay so this hint takes values, and there are exactly two of them, no in-between, no secret third option, we love a clear binary moment:

  • "0" β€” the window message loop is not run. nope. she's off duty. πŸ’…
  • "1" β€” the window message loop is processed in SDL_PumpEvents(). this is the default, so if you never touched it, congrats, this is your vibe. ✨
πŸ¦‹ this hint can be set anytime. no timing drama, no "you had to do it before init" nonsense. whenever you want, queen.

🌸 AVAILABILITY 🌸

this hint has been around since SDL 3.2.0, so it's lowkey a legend at this point. 🫢


k bye bestie, go set your hints πŸ’–βœ¨πŸŽ€ β€” brought to you by the Simple Directmedia Layer girlies, straight outta SDL 3.4.18. this page is SDL_HINT_WIN...E_MESSAGELOOP(3) in the SDL3 functions crew, and yes, it ate. πŸ’…πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from