CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  C++ Builder >  基础类

想问个使标题栏闪烁的问题

楼主ITsignal(白首太玄经)2005-06-02 20:38:32 在 C++ Builder / 基础类 提问

在窗口最小化的时候,winxp的窗口收到什么消息时使标题栏的底色呈桔黄色呢?  
   
  请指教! 问题点数:20、回复次数:4Top

1 楼lonely001(独行客)回复于 2005-06-02 20:41:07 得分 0

FlashWindowEx  
   
  The   FlashWindowEx   function   flashes   the   specified   window.   It   does   not   change   the   active   state   of   the   window.  
   
   
  BOOL   FlashWindowEx(  
      PFLASHWINFO   pfwi  
  );  
   
  Parameters  
  pfwi    
  [in]   Pointer   to   the   FLASHWINFO   structure.    
  Return   Values  
  The   return   value   specifies   the   window's   state   before   the   call   to   the   FlashWindowEx   function.   If   the   window   caption   was   drawn   as   active   before   the   call,   the   return   value   is   nonzero.   Otherwise,   the   return   value   is   zero.  
   
  Top

2 楼lonely001(独行客)回复于 2005-06-02 20:41:32 得分 10

FlashWindow  
   
  The   FlashWindow   function   flashes   the   specified   window   one   time.   It   does   not   change   the   active   state   of   the   window.  
   
  To   flash   the   window   a   specified   number   of   times,   use   the   FlashWindowEx   function.  
   
   
  BOOL   FlashWindow(  
      HWND   hWnd,  
      BOOL   bInvert  
  );  
   
  Parameters  
  hWnd    
  [in]   Handle   to   the   window   to   be   flashed.   The   window   can   be   either   open   or   minimized.    
  bInvert    
  [in]   If   this   parameter   is   TRUE,   the   window   is   flashed   from   one   state   to   the   other.   If   it   is   FALSE,   the   window   is   returned   to   its   original   state   (either   active   or   inactive).    
  When   an   application   is   minimized   and   this   parameter   is   TRUE,   the   taskbar   window   button   flashes   active/inactive.   If   it   is   FALSE,   the   taskbar   window   button   flashes   inactive,   meaning   that   it   does   not   change   colors.   It   flashes,   as   if   it   were   being   redrawn,   but   it   does   not   provide   the   visual   invert   clue   to   the   user.  
   
  Return   Values  
  The   return   value   specifies   the   window's   state   before   the   call   to   the   FlashWindow   function.   If   the   window   caption   was   drawn   as   active   before   the   call,   the   return   value   is   nonzero.   Otherwise,   the   return   value   is   zero.  
   
  Top

3 楼kese(可可)回复于 2005-06-02 21:17:44 得分 10

typedef   struct   {     UINT   cbSize;  
      HWND   hwnd;  
      DWORD   dwFlags;  
      UINT   uCount;  
      DWORD   dwTimeout;  
  }   FLASHWINFO,   *PFLASHWINFO;  
   
  dwFlags   可使用如下标志  
  FLASHW_CAPTION   Flash   the   window   caption.    
  FLASHW_TRAY   Flash   the   taskbar   button.    
  FLASHW_ALL   Flash   both   the   window   caption   and   taskbar   button.   This   is   equivalent   to               setting   the   FLASHW_CAPTION   |   FLASHW_TRAY   flags.    
  FLASHW_TIMER   Flash   continuously,   until   the   FLASHW_STOP   flag   is   set.    
  FLASHW_STOP   Stop   flashing.   The   system   restores   the   window   to   its   original   state.    
  FLASHW_TIMERNOFG   Flash   continuously   until   the   window   comes   to   the   foreground.Top

4 楼ITsignal(白首太玄经)回复于 2005-06-03 12:49:03 得分 0

还是有点不对喔,我是说闪烁的同时,标题栏的颜色也在桔黄色何蓝色之间闪烁Top

相关问题

  • 请问,怎样使窗口标题栏瞬间闪烁一下?
  • 怎样使窗口标题栏闪烁?
  • 请问如何实现闪烁标题栏??
  • 请问如何在标题栏上使用动态图标(.ani)
  • 标题栏自绘问题
  • clistctrl 标题栏的问题
  • 简单问题:如何使ListView控件的标题栏平面显示?
  • 请问如何使消息框的标题栏和按钮显示中文.
  • 菜单问题:如何能消除“使用菜单后,窗体有标题栏”
  • 非标题栏窗体拖动问题

关键词

  • flash
  • active
  • flashw
  • 标题栏
  • flashwindowex
  • 闪烁
  • taskbar
  • flashwindow
  • caption
  • inactive

得分解答快速导航

  • 帖主:ITsignal
  • lonely001
  • kese

相关链接

  • CSDN Blog
  • 技术文档
  • 代码下载
  • 第二书店
  • 读书频道

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo