1. RE: flattoolbar
- Posted by Judith <camping at txcyber.com> Jun 18, 2002
- 499 views
Can you provide a little exw that demonstrates more then one FlatToolBar? Whenever I tried to do that, the additional ones always end up on top of the first, even though the additional Bars had incremented CY values. If I can see how you do it, I will be happy to add that ability. Judith Tyler Southwick wrote: > Two things:\ > 1. Judith's IDE wont let you add more than one flattoolbar to the form, > but it is possible to do it. > > 2. Is it possible to change the size of a button on the flattoolbar to > be the same type of size used in IE? > > Thanks > Tyler > > >
2. RE: flattoolbar
- Posted by Bernie Ryan <xotron at localnet.com> Jun 18, 2002
- 475 views
Judith wrote: > Can you provide a little exw that demonstrates more then one > FlatToolBar? Whenever I tried to do that, the additional ones always end > > up on top of the first, even though the additional Bars had incremented > CY values. > > If I can see how you do it, I will be happy to add that ability. > Judith: X and Y should be the position, CX is the width and CY should be the height of any window or control in windows programming. Bernie
3. RE: flattoolbar
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 18, 2002
- 461 views
I believe that Win32Lib resizes toolbars to be at the top and across the screen. The recommended way to use multiple toolbars is to use a Rebar and put each toolbar on a Rebarband. I suspect this is really what you want to do. Matt Lewis > -----Original Message----- > From: Judith [mailto:camping at txcyber.com] > Can you provide a little exw that demonstrates more then one > FlatToolBar? Whenever I tried to do that, the additional ones > always end > up on top of the first, even though the additional Bars had > incremented > CY values. > > If I can see how you do it, I will be happy to add that ability. > > Judith > > Tyler Southwick wrote: > > Two things:\ > > 1. Judith's IDE wont let you add more than one flattoolbar > to the form, > > but it is possible to do it. > > > > 2. Is it possible to change the size of a button on the > flattoolbar to > > be the same type of size used in IE? > > > > Thanks > > Tyler > > > > > > > > >
4. RE: flattoolbar
- Posted by Tyler Southwick <wick900 at operamail.com> Jun 18, 2002
- 447 views
Whenever I use more than one toolbar or flattoolbar, I use them with a rebar band, and it works fine. Tyler
5. RE: flattoolbar
- Posted by Judith <camping at txcyber.com> Jun 18, 2002
- 459 views
Ah, I can change to allow multiple toolbar/flattoolbar if they are on ReBarBand -- I think. I'm in the midst of redoing the toolbar and flattoolbar routines so I will look at multiples on rebarband. I am also looking at the control sizes within the toolbar/flattoolbar. I'm trying to make the changes so that existing toolbar/flattoolbar controls and controls within them work as originally designed so as not to break everyone's code but allow for new toolbar and flattoolbar (and their controls) to have different sizing and positioning behavior. If I didn't have that neat little autopositioning routine, it would not be so problematicTyler Southwick wrote: > Whenever I use more than one toolbar or flattoolbar, I use them with a > rebar band, and it works fine. > > Tyler > > >
6. RE: flattoolbar
- Posted by gwalters at sc.rr.com Mar 14, 2002
- 472 views
Well it seems that you can't have a toolbar down the side of the screen. constant menuBar = create(FlatToolBar,"",Main,2,60,500,50,0) <<works constant menuBar = create(FlatToolBar,"",Main,2,60,50,500,0) << does not work is this a bug or the way it's supposed to work. george
7. RE: flattoolbar
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Mar 14, 2002
- 462 views
> -----Original Message----- > From: gwalters at sc.rr.com [mailto:gwalters at sc.rr.com] > Well it seems that you can't have a toolbar down the side of > the screen. > > constant menuBar = create(FlatToolBar,"",Main,2,60,500,50,0) <<works > > constant menuBar = create(FlatToolBar,"",Main,2,60,50,500,0) > << does not > work > > is this a bug or the way it's supposed to work. It's got CCS_TOP set by default: classStyle[ FlatToolBar ] = or_all( { CCS_TOP, CCS_NORESIZE, --CCS_ADJUSTABLE, WS_CHILD, WS_VISIBLE, WS_BORDER, WS_TABSTOP, --WS_CLIPSIBLINGS, TBSTYLE_FLAT, TBSTYLE_TOOLTIPS } ) You'll probably need to play with the settings. Also, ToolBars are often put into ReBarBands (inside a ReBar), which allow users to move them around. No one that I'm aware of has written any code to allow docked/undocked ReBars, though. Matt Lewis