Article View: comp.sys.acorn.tech
Article #284Re: Receiving message 0x502, and win' Work Area flags...
From: TMOTA
Date: Mon, 09 Nov 1992 00:53
Date: Mon, 09 Nov 1992 00:53
29 lines
1633 bytes
1633 bytes
gpcec@westminster.ac.uk (Tom Kirby-Green) writes:
>wimp library - I figure its the ONLY way to learn ). Now the problem is I
>don't seem to be receiving Message_HelpRequest from the !Help app.
> This message no. is 0x502. Now I know I can pick up messages because
Are you sure? I though it was 0x501... and the Helpreply was 0x502 (or is
my memory failing me again?!)
An easy test to do is to put a debugging 'printf' into your message handler
and print out the recieved message numbers... I use
bbc_vdu(26); bbc_vdu(4); /* get the cursor in VDU4 mode at top left of scren*/
printf("Message number: %x", blah);
or you could just use the printf, and redirect your programs output to
a file
(in !Run, change
Run <Obey$Dir>.blah
to
Run <Obey$Dir>.blah > <Obey$Dir>.output
)
This way, you'll know *what* messages you're actually recieving, which is
always a good place to start working out why nothing's happening...
--
_________________ "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.005325.24603@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.095730.10327@westminster.ac.uk>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: Receiving message 0x502, and win' Work Area flags... Message-ID: <1992Nov9.005325.24603@cs.aukuni.ac.nz> From: jwil1@cs.aukuni.ac.nz (TMOTA) Date: Mon, 9 Nov 1992 00:53:25 GMT Sender: jwil1@cs.aukuni.ac.nz (TMOTA) References: <1992Nov3.095730.10327@westminster.ac.uk> Organization: Computer Science Dept. University of Auckland Lines: 29