Ctr - Alt - Del

This is a discussion on Ctr - Alt - Del within the Windows Programming forums, part of the Platform Specific Boards category; When a program is exited by using CTR - ALT - DEL, does it process the WM_DESTROY message before it ...

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Ctr - Alt - Del

    When a program is exited by using CTR - ALT - DEL, does it process the WM_DESTROY message before it exits? Is this different depending the version of windows?
    Last edited by face_master; 06-25-2002 at 03:03 AM.

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    50

    whee

    Easy stuff. Rewrote a small program of mine to popup a message box when the WM_DESTROY message is processed. Used CTLALTDEL to shut down the program and BAM! Good ole' message box came up letting me know I had shut it down using WM_DESTROY. I tried this both on WinXP and Win98 and it worked both times.

  3. #3
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    thanks, maybe I should have tried it myself. Might do the same sort of thing in the future.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. storing alot of variables...
    By MikeyIckey in forum C Programming
    Replies: 11
    Last Post: 05-30-2008, 12:31 PM
  2. Ctrl Alt Del
    By cboard_member in forum A Brief History of Cprogramming.com
    Replies: 27
    Last Post: 07-20-2005, 07:36 AM
  3. how to trap Ctrl + Alt + Del
    By samudrala_99 in forum Windows Programming
    Replies: 5
    Last Post: 12-16-2002, 12:01 AM
  4. Thanks Stoned_Coder! ALT key works!!
    By johnnyd in forum C Programming
    Replies: 0
    Last Post: 03-11-2002, 09:39 AM
  5. Capturing ALT in C
    By johnnyd in forum C Programming
    Replies: 2
    Last Post: 03-10-2002, 09:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21