The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
How to detect ctrl+alt+del keyboard event from SDL? (psboy)
julien CLEMENT
Guest

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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
How to detect ctrl+alt+del keyboard event from SDL? (psboy)
psboy
Guest

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
Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



--
Greets


WS Liu
How to detect ctrl+alt+del keyboard event from SDL? (psboy)
Jeremiah
Guest

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 wrote:
Quote:
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
Quote:

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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



--
Greets


WS Liu

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
How to detect ctrl+alt+del keyboard event from SDL? (psboy)
Paulo Pinto
Guest

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 wrote:
Quote:
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
Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



--
Greets


WS Liu


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org