Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.tech Subject: Re: 2.0 C question{ Message-ID: <14989@cbmvax.commodore.com> Date: 9 Oct 90 16:07:36 GMT References: <1886.27085b45@zeus.unomaha.edu> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore, West Chester, PA Lines: 36 In article <1886.27085b45@zeus.unomaha.edu> tc008@zeus.unomaha.edu writes: >A few C question that hopefully will be answered: > > 1. in V36/2.0, I tried using a flag that would show the sizing gadget in >the upper right hand corner and not display the one in the lower right hand >corner. I forgot what the name of this flag was... but anycase in the header >for intuition.h it said that this would automatically pop up without the sizing >gadget in the lower corner. Any ideas. There is no supported way to move the size gadget, not in 1.x nor in 2.0. You're probably thinking of SIZEBRIGHT and SIZEBBOTTOM, which are flags that help you control in which border the gadget is. The gadget is always in the bottom right corner, but can be in the bottom border or the right border (or both). If you notice that Shell windows have a blank strip the width of the size gadget running down the right side, that tells you that the size gadget is in the right border. Under 2.0, it's very clear in which border the gadget is. > 2. Knowing that we can change the fonts (3 separate categories) I found >something that must be must be dealt with which I did not see in any manuals. >When I use a string gadget. I see you can call out andpoint to the intuiText >where then you can change the font of that text for printing. My question is >how can you make the input text that you type in any font you ask for instead >of having the system default. The reason for this is that if you make borders >and have text inside of that. When some one new comes and uses your program >with a different system font. It's not good. Under 2.0, you can supply a StringExtend structure, which lets you specify the font to use. Peter -- Peter Cherna, Software Engineer, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.cbm.commodore.com My opinions do not necessarily represent the opinions of my employer. "Television is a medium because it is neither rare nor well-done." - E. Kovacs