CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    69

    Urgent! horizontal separator in vertical toolbar

    I created a toolbar that is initially docked vertically, to the left of the window. When I add a separator, it is shown as a small vertical line to the left of the next item, but I want it to be a horizontal line above it.
    What could be wrong?


  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Urgent! horizontal separator in vertical toolbar

    I've had loads of problems with toolbars similar to this.

    If I remember rightly, there's a last size in the MRU stuff in the toolbar. You need to set that to being its vertical height/width, not its horizontal.

    I can't remember exactly, but if you use browse to look through CToolbar I'm sure you'll find what I mean.

    I tend to do this kind of stuff in the CalcDynamic/CalcFixed overrides in the toolbar class.

    Darwen.

    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured