home *** CD-ROM | disk | FTP | other *** search
- Path: draco.prima.ruhr.de!ehb
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: How adjust window borders?
- Distribution: world
- References: <19960217.7D84090.A425@mojaveg.ridgecrest.ca.us>
- From: ehb@draco.prima.ruhr.de (Edwin H. Bielawski)
- Message-ID: <ehb.02st@draco.prima.ruhr.de>
- Date: Sun, 18 Feb 96 23:13:17 +0100
- Organization: private UUCP site Dortmund Scharnhorst (Germany), member of Prima e.V.
-
- In article <19960217.7D84090.A425@mojaveg.ridgecrest.ca.us> mojaveg@ridgecrest.ca.us (Everett M. Greene) writes:
- >I wish to be able to directly control the size of the window borders
- >for a window which has no border gadgets or text. The window opens
- >as desired but I would prefer to have all four borders a bit wider.
- >The implications in the RKM are that WA_InnerWidth and WA_InnerHeight
- >should have some effect on border widths, but trying these seems to
- >have no visible effect whatsoever. Any ideas?
- >
- >What are InnerWidth and InnerHeight supposed to do? The RKMs are
- >not very enlightening on this. [I notice that when selecting these
- >from GadToolsBox, nothing get inserted into the code, an implication
- >that InnerWidth and InnerHeight do nothing.]
-
- When you set your window dimensions with WA_InnerWidth and
- WA_InnerHeight, intuition adds the border size for you. In other
- words, you define the size of the inner area of the window.
- You can't mix WA_Width and WA_InnerWidth!
-
- BTW: Why do you need wider borders?
-
- The only legal way i know for this is to place gadgets in the
- border of the window. This gadgets could be visible with a function
- or invisible.
-
- <ehb
-
- --
- greetings from draco.prima.ruhr.de
-
- Edwin H. Bielawski
-