MessageBox(0, msgbuff,"WARNING",MB_YESNO ¦MB_ICONQUESTION ¦MB_SERVICE_NOTIFICATION) ;
#ifdef _WIN32_WINNT #if (_WIN32_WINNT >= 0x0400) #define MB_SERVICE_NOTIFICATION 0x00200000L//就是这个 #else #define MB_SERVICE_NOTIFICATION 0x00040000L #endif #define MB_SERVICE_NOTIFICATION_NT3X 0x00040000L #endif MB_SERVICE_NOTIFICATION Windows NT/2000/XP: The caller is a service notifying the user of an event. The function displays a message box on the current active desktop, even if there is no user logged on to the computer. Terminal Services: If the calling thread has an impersonation token, the function directs the message box to the session specified in the impersonation token. If this flag is set, the hWnd parameter must be NULL. This is so the message box can appear on a desktop other than the desktop corresponding to the hWnd. For more information on the changes between Microsoft Windows NT 3.51 and Windows NT 4.0, see Remarks.