4、***************************** 2. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 3. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 4. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 5. PARTICULAR PURPOSE. 6. 1.
5、 Copyright 1998 Microsoft Corporation. All Rights Reserved. 2.***********************************************************************/ 3. 4./*********************************************************************** 5.* 6.* MsgBox.c 7.* 8.* Abstract: 9.* 10.* Sample
6、program to demonstrate how a program can display a 11.* timed message box. 12.* 13.***********************************************************************/ 14. 15.#define STRICT 16.#include 17. 18./******************************************************
7、***************** 19.* 20.* Overview 21.* 22.* The key to creating a timed message box is exiting the dialog 23.* box message loop internal to the message box. Because the 24.* message loop for a message box is part of USER, you cannot 25.* modify t
8、he message loop without using hooks and other such methods. 1.* 2.* 3.* Howev