home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1
- Newsgroups: comp.sys.acorn.tech
- Subject: Re: Some Questions... (Very Long)
- Message-ID: <1992Nov9.025431.25997@cs.aukuni.ac.nz>
- From: jwil1@cs.aukuni.ac.nz (TMOTA)
- Date: Mon, 9 Nov 1992 02:54:31 GMT
- Sender: jwil1@cs.aukuni.ac.nz (TMOTA)
- References: <1992Nov3.105100.21476@cs.ruu.nl>
- Organization: Computer Science Dept. University of Auckland
- Lines: 22
-
- jjjbokma@cs.ruu.nl (John Bokma) writes:
-
- > 2. When using Wimp_GetWindowInfo to read some information on a window you
- > also get 32 bytes for every icon in the window. How can you determine
- > the number of icons in a window
-
- Oh, that's easy... you just call Wimp_GetWindowInfo, and read the number
- of icons... A nice feature of the Wimp, that... ;-)
- (But seriously, the only thing to do is use a default buffer size that's
- definitely big enough for *any* of your windows...)
-
- > 3. How do I get the input focus in a window like the main window of !Draw?
-
- Plonk it in, as in your example, but...
- I use x and y offsets that ensure the caret is outside the visible workspace
- of the window, so there is no way that a caret can 'accidentally' appear
- in the window...
-
- --
- _________________ "I'd like to answer this question in two ways:
- /____ _ _/_ __ First in my normal voice, and then
- // / //_//_ /_/ in a silly, high-pitched whine." (Monty Python)
-