Thread View: comp.sys.acorn.tech
3 messages
3 total messages
Started by TMOTA
Mon, 05 Oct 1992 22:23
Message_Iconise
Author: TMOTA
Date: Mon, 05 Oct 1992 22:23
Date: Mon, 05 Oct 1992 22:23
21 lines
1388 bytes
1388 bytes
I managed a riffle through the RO3 PRM's yesterday, and copied the info about Message_Iconise and Message_WindowInfo from it so that I can add proper support for iconisation into DSEdit... As far as I can tell, the PRMs say the message numbers are 0x400c10 and 0x400c11 respectively. However, these numbers don't work. Printing out the numbers of recieved messages, I get a number like (from my somewhat colander-like memory) 0x400cc whenever I shift-close a window... The problem with this is that if I try replying to 0x400cc with a 0x400cd (add one and hope ;-) I don't get the effect I'm after... This is either because I have the wrong message numbers, or that I'm using the wrong type of message to ack with... Does anybody know what the numbers are supposed to be, please? -- _________________ "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)
Re: Message_Iconise
Author: Philip Colmer
Date: Tue, 06 Oct 1992 07:49
Date: Tue, 06 Oct 1992 07:49
24 lines
1509 bytes
1509 bytes
In article <1992Oct5.222352.10182@cs.aukuni.ac.nz> jwil1@cs.aukuni.ac.nz (TMOTA) writes:
>As far as I can tell, the PRMs say the message numbers are 0x400c10
>and 0x400c11 respectively. However, these numbers don't work.
^^
These two digits should be hex! ie 0x400CA and 400CB.
The three messages are:
Message_Iconize: 0x400CA: issued by the Wimp when SHIFT+quit clicked
Message_WindowClosed: 0x400CB: issued by the Wimp when a window is closed/deleted
Message_WindowInfo: 0x400CC: issued by the Iconizer application
Note that if you only have the one iconized sprite you want to use,
the easiest thing is to call it ic_<task name> and don't bother
responding to any of the messages, eg ic_edit, ic_filer, ic_draw,
ic_paint. For consistency, you should use ic_? from the Wimp's sprite
pool and then usually put the small version of the filetype sprite in
the middle of it.
--Fil.
---------------------------------------------------------------------
Practise random kindness and senseless acts of beauty
Re: Message_Iconise
Author: TMOTA
Date: Fri, 09 Oct 1992 00:30
Date: Fri, 09 Oct 1992 00:30
26 lines
1717 bytes
1717 bytes
pcolmer@acorn.co.uk (Philip Colmer) writes: >In article <1992Oct5.222352.10182@cs.aukuni.ac.nz> jwil1@cs.aukuni.ac.nz (TMOTA) writes: >>As far as I can tell, the PRMs say the message numbers are 0x400c10 >>and 0x400c11 respectively. However, these numbers don't work. > ^^ > These two digits should be hex! ie 0x400CA and 400CB. Yeah... I was suspicious of this... >Note that if you only have the one iconized sprite you want to use, >the easiest thing is to call it ic_<task name> and don't bother >responding to any of the messages, eg ic_edit, ic_filer, ic_draw, >ic_paint. For consistency, you should use ic_? from the Wimp's sprite >pool and then usually put the small version of the filetype sprite in >the middle of it. I did... first of all, I had to use a hard space in "dsedit ii" to get it all working, and now I get an icon with '' underneath it (no name at all), so I really want to reply to messages to get things working properly... Now that I have the correct info, I should have it running RSN... thanks. -- _________________ "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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads