我想作一个象工具栏中的地址栏那样的工具栏,在上面放置几个按钮,可不知道如何实现?

解决方案 »

  1.   

    nod,CReBar is what you need.
      

  2.   

    A rebar object can contain a variety of child windows, usually other controls, including edit boxes, toolbars, and list boxes. A rebar object can display its child windows over a specified bitmap. Your application can automatically resize the rebar, or the user can manually resize the rebar by clicking or dragging its gripper bar. 它只有三个函数:
    Create ————Creates the rebar control and attaches it to the CReBar object. 
    GetReBarCtrl -------Allows direct access to the underlying common control.  
    AddBar ------Adds a band to a rebar. 
      

  3.   

    大家好像误会了,我说的是任务栏,也就是屏幕最下面那个条,中文windows下它自己写的是工具栏,英文的话好像是AppBar,这个应该是shell编程吧?不知哪位能给些思路!