Wm_close Wm_destroy Wm_quit

This is a discussion on Wm_close Wm_destroy Wm_quit within the Windows Programming forums, part of the Platform Specific Boards category; What's the difference between those 2?...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267

    Wm_close Wm_destroy Wm_quit

    What's the difference between those 2?

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  3. #3
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Most programs use this code snippet:
    Code:
    	case WM_DESTROY:
    		DeleteTrayIcon();
    		PostQuitMessage (0);
    		break;
    So, exiting the program is as easy as DestroyWindow(hwnd);
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed

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