Article View: comp.sys.acorn.tech
Article #288Re: Some Questions... (Very Long)
From: TMOTA
Date: Mon, 09 Nov 1992 02:54
Date: Mon, 09 Nov 1992 02:54
22 lines
1435 bytes
1435 bytes
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)
Technical Details
Message-ID:
<1992Nov9.025431.25997@cs.aukuni.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1References:
<1992Nov3.105100.21476@cs.ruu.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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