编程技巧15法之一[13]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 jz_x 的 blog

 

用法如下

if(iswindowvisible())                           //窗体是否已隐藏

{

       showwindow(sw_hide);           //先隐藏窗体

       winanimation(true);                     //窗体动画滑入到系统区中

}

else

{

winanimation(false);        //窗体动画从系统区滑出

       showwindow(sw_show);

}

 

7.         如何判断当前操作系统的版本

//------------------------------------------------------------------------------------------------

//判断操作系统涵数及变量,jingzhou xu

typedef enum tagwin32systype{

       windows32s,

       windowsnt3,

       windows95,

       windows98,

       windowsme,

       windowsnt4,

       windows2000,

       windowsxp

}win32systype;

本文关键:编程技巧
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top