窗口显示的效果

来源:互联网 发布:趣味网络 编辑:程序博客网 时间:2024/04/29 16:52
//在OnShowWindow中调用 AnimateWindow
AnimateWindow(500, AW_VER_NEGATIVE);
//第一个参数dwTime是以毫秒为单位的时间
//第二个参数dwFlags有以下几种
       AW_HOR_POSITIVE  //从左到右打开窗口  
       AW_HOR_NEGATIVE //从右到左打开窗口  
       AW_VER_POSITIVE //从上到下打开窗口  
       AW_VER_NEGATIVE  //从下到上打开窗口  
       AW_CENTER  //看不出任何效果  
       AW_HIDE  //在窗体卸载时若想使用本函数就得加上此常量     
      AW_ACTIVATE //在窗体通过本函数打开后,默认情况下会失去焦点,除非加上本常量  
                    AW_SLIDE  //幻灯片效果,看不出 
                    AW_BLEND  //淡入淡出效果,好像会影响某些控件的显示
PRE.clsCode { font-size:110%; } PRE.clsSyntax { font-size:100%; } TD DIV.clsBeta { display:none;} A:link { color:#0000ff; text-decoration:underline;}A:visited { color:#0000ff; text-decoration:underline;}A:hover { color:#3366ff; text-decoration:underline;}MSHelp/:link { color:#0000ff; text-decoration:underline; cursor:hand; hoverColor:#3366ff; filterString: ;}PRE.clsCode { font-size:110%; } PRE.clsSyntax { font-size:100%; } TD DIV.clsBeta { display:none;} A:link { color:#0000ff; text-decoration:underline;}A:visited { color:#0000ff; text-decoration:underline;}A:hover { color:#3366ff; text-decoration:underline;}MSHelp/:link { color:#0000ff; text-decoration:underline; cursor:hand; hoverColor:#3366ff; filterString: ;}