m_wndAnimate.Play(0, -1, -1);
是什么意思?

解决方案 »

  1.   

    没办法!因为浏览器的菜单栏是用toolbar模拟的
      

  2.   

    kingcom_xu(←对!它就是被封杀的kingcom!) ,真的没有办法吗?
    但我看好多软件好象也都在菜单栏呀,我还是觉得放在那个位置比较好看,哪个大虾能做,请支招。
      

  3.   

    那是非客户区吗?那咱们也能用toolbar模拟吗?有做过的没
    0, -1, -1,这三个参数什么意思?
      

  4.   

    http://www.codeproject.com/menu/menubarxp.asp
      

  5.   

    CAnimateCtrl::Play
    BOOL Play( UINT nFrom, UINT nTo, UINT nRep );Return ValueNonzero if successful; otherwise zero.ParametersnFromZero-based index of the frame where playing begins. Value must be less than 65,536. A value of 0 means begin with the first frame in the AVI clip.nToZero-based index of the frame where playing ends. Value must be less than 65,536. A value of – 1 means end with the last frame in the AVI clip.nRepNumber of times to replay the AVI clip. A value of – 1 means replay the file indefinitely.ResCall this function to play an AVI clip in an animation control. The animation control will play the clip in the background while your thread continues executing. If the animation control has ACS_TRANSPARENT style, the AVI clip will be played using a transparent background rather than the background color specified in the animation clip.
      

  6.   

    谢谢kingcom_xu(←对!它就是被封杀的kingcom!) 
    看来那些参数是不能变的了,
    你给的地址不能下载那个demo呀
      

  7.   

    你仔细查看一下就能发现无论是IE还是资源管理器的菜单栏都是用toolbar来做的好处多多(重定位,位图背景等)不过实现起来也是很难的
    MSDN有一篇文章讨论了这个问题
      

  8.   

    那就是可以实现了,但是我这个小虾恐怕是不行。
    有实现的出来一下呀。
    MSDN有一篇文章讨论了这个问题,请告诉我是哪一章,我明天看看
    今天谢谢老兄的大力帮忙了,明天来给分,我这里要关门了,欢迎你关注这个问题
      

  9.   

    Creating an Internet Explorer-style Menu Bar
      

  10.   

    浏览器的菜单栏是用工具栏控件作的,你可以在MSDN中找到。另外,浏览器菜单风格的工具栏右上角的“动画”是多帧组成的复合位图资源,你可以用VC查看SYSTEM32目录下的browseui.DLL资源,你就可以找到答案了。
      

  11.   

    我VC学的很菜,用VC可以看DLL文件吗
    在MSDN查找哪个文件。
    我看完能自己做吗?
      

  12.   

    使用CRebar,把菜单放到CRebar上面,动画也放到上面就可以了