DRAFT |
SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4
A hint that specifies that SDL should not to generate SDL_WINDOWEVENT_CLOSE events for Alt+F4 on Microsoft Windows.
Values
0 |
generate an SDL_WINDOWEVENT_CLOSE event for Alt+F4 (default) |
1 |
do not generate event and only do normal key handling for Alt+F4 |
Default
By default SDL will generate an SDL_WINDOWEVENT_CLOSE event for Alt+F4.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This hint is available since SDL 2.0.4.