Re: Size,Space,Fonts etc
- Posted by Euman <euman at bellsouth.net> Jun 21, 2001
- 427 views
Ok, that wasnt the best example but it does prove that the Group box when useing small fonts is a perfect fit around the rebar control and when in Large fonts that the top of the Group box is hidden behind the rebar control. Now, I hope you guys/gals think Im worried about one or two pixels difference..... It matters to me that visually the line is hidden useing Large fonts. Euman euman at bellsouth.net ----- Original Message ----- From: "Euman" <euman at bellsouth.net> To: "EUforum" <EUforum at topica.com> Sent: Friday, June 22, 2001 00:31 Subject: Re: Size,Space,Fonts etc > > > I think maybe you misunderstood, > I want to be able to have *cross* font size support. > > try this: > > include win32lib.ew > > constant hWnd = create( Window, " ", 0, 0, 0, 678, 548, { WS_DLGFRAME, > WS_SYSMENU} ) > setWindowBackColor( hWnd,8404992) > > constant RebarGroup = create( Group, "", hWnd, 8, 185, 656, 40, 0 ) > > constant RB = create( ReBar, "Family", RebarGroup, 1, 8, 630, 30, > RBS_FIXEDORDER ) > > constant Band1 = create( ReBarBand, "File & Printing", RB, 4, 0, 30, 30, 0) > constant Band2 = create( ReBarBand, "Member Section", RB, 30, 0, 30, 30, 0) > constant Band3 = create( ReBarBand, "New Additions", RB, 60, 0, 30, 30, 0) > > constant BandGroup1 = create(ToolBar, "", RB, 0, 0, 300, 30, > TBSTYLE_TRANSPARENT ) > constant BandGroup2 = create(ToolBar, "", RB, 0, 0, 300, 30, > TBSTYLE_TRANSPARENT ) > constant BandGroup3 = create(ToolBar, "", RB, 0, 0, 300, 30, > TBSTYLE_TRANSPARENT ) > > addToBand( BandGroup1, Band1 ) > addToBand( BandGroup2, Band2 ) > addToBand( BandGroup3, Band3 ) > > WinMain( hWnd, Normal ) > > > Now run it with changed font sizes and watch the Goup behind > the rebar move up or down the page...... > > UNSATISFACTORY* > > Any help with this appreciated, > > If not then I'll write enough code to get by which Ive done. > but there has to be a global way. > > Euman > euman at bellsouth.net > > > ----- Original Message ----- > From: "Gerardo" <gebrandariz at YAHOO.COM> > To: "EUforum" <EUforum at topica.com> > Sent: Thursday, June 21, 2001 23:07 > Subject: Re: Size,Space,Fonts etc > > > > > > > > Euman, > > > > You are resetting font sizes according to your criteria, in order to have <snip> > >