一个在锁定状态下也能弹出的TOPMOST消息框

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.   

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值