对话框窗体,在显示的时候,如何实现由 不显示->半透明->全部显示 的渐进过程?(在win2000或xp下?请大虾指点

解决方案 »

  1.   

    AnimateWindow
    The AnimateWindow function enables you to produce special effects when showing or hiding windows. There are three types of animation: roll, slide, and alpha-blended fade. BOOL AnimateWindow(
      HWND hwnd,     // handle to window
      DWORD dwTime,  // duration of animation
      DWORD dwFlags  // animation type
    );
    用这个函数就可以
      

  2.   

    你说的是不是淡入淡出效果?是的话可以利用API函数AnimateWindow,具体可以看:http://www.vckbase.com/document/viewdoc.asp?id=291