How to detect ctrl+alt+del keyboard event from SDL? (psboy)

Maybe I missed a part of the thread, but
why would you want to catch Ctrl+Alt+Delete ?
It’s quite unusual …

Julien CLEMENT

Hi,
I have a SDL app that contain win32 subwindow.
And this subwindow embedded a mplayer.
When i press ctrl+alt+del,
that win32 subwindow(mplayer) will not redraw.
That’s why i want to catch ctrl+alt+del and do somehing (like redraw).

2010/6/17 julien CLEMENT > Maybe I missed a part of the thread, but

why would you want to catch Ctrl+Alt+Delete ?
It’s quite unusual …

Julien CLEMENT


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Greets

WS Liu

ctrl+alt+del, is usually an admission of failure. The user clearly
isn’t in love with your program, when they resort to the 3 finger
salute.On Thu, Jun 17, 2010 at 6:19 PM, psboy <psboy.liu at gmail.com> wrote:

Hi,
I have a SDL app that contain win32 subwindow.
And this subwindow embedded a mplayer.
When i press ctrl+alt+del,
that win32 subwindow(mplayer) will not redraw.
That’s why i want to catch ctrl+alt+del and do somehing (like redraw).
2010/6/17 julien CLEMENT

Maybe I missed a part of the thread, but
why would you want to catch Ctrl+Alt+Delete ?
It’s quite unusual …

Julien CLEMENT


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Greets

WS Liu


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Then you should handle the “losing focus” issue, not try to catch
Ctrl+Alt+Del.

Many OS have keyboard shortcuts that are system specific and not given to
the applications,
it is a bad practice to get hold of them, in the very few cases that is even
possible to do so.

Unless you are targeting an embedded system, or a games console, the days of
an application
owning the computer hardware are long gone.–
Paulo

On Fri, Jun 18, 2010 at 3:19 AM, psboy <psboy.liu at gmail.com> wrote:

Hi,
I have a SDL app that contain win32 subwindow.
And this subwindow embedded a mplayer.
When i press ctrl+alt+del,
that win32 subwindow(mplayer) will not redraw.
That’s why i want to catch ctrl+alt+del and do somehing (like redraw).

2010/6/17 julien CLEMENT

Maybe I missed a part of the thread, but
why would you want to catch Ctrl+Alt+Delete ?
It’s quite unusual …

Julien CLEMENT


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Greets

WS Liu


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org