Re: Dockable tool bars with scrollbars if larger than parent frame

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ajay Kalra (ajaykalra_at_yahoo.com)
Date: 05/05/04

  • Next message: Neel Roy: "Re: Dockable tool bars with scrollbars if larger than parent frame"
    Date: Tue, 4 May 2004 17:59:04 -0800
    
    

    CToolBar is derived from CControlBar; so you are not going to gain anything
    going to CControlBar unless you do the work yourself. Something which can
    helpyou is the pager control(thats the chevron that you see in some apps).
    Look at codeguru/codeproject to see if something is there regarding this.

    --
    Ajay Kalra [MVP - VC++]
    ajaykalra@yahoo.com
    "TVR Fan" <nosuch@address.com> wrote in message
    news:#27WlHdMEHA.3944@tk2msftngp13.phx.gbl...
    > My VC++6 MFC MDI application has a dockable toolbar with 7 or 8 buttons
    that
    > are added to it on startup. Trouble is, when the toolbar is docked, the
    > application can be sized such that some of the toolbar buttons are
    clipped.
    > I want to be able to dynamically add another couple of thin buttons with
    > forward / back symbols (I can se problems here with verticle / horizontal
    > docking), or possibly a scrollbar running along the bottom / down the side
    > of the toolbar so that the user can get to these hidden buttons.
    >
    > Its been suggested that I try using CReBar or CControlBar. I can't use
    > CReBar as it doesn't support docking and I can't see how to do it using
    > CControlBar.
    >
    > Can anyone help?
    >
    > --- Al.
    >
    >
    

  • Next message: Neel Roy: "Re: Dockable tool bars with scrollbars if larger than parent frame"
  • Quantcast