From: | David McMinn |
Date: | 17 Aug 2001 at 18:06:52 |
Subject: | Re: IntuiMessage |
Hi Thilo
> > The command Qualifiers tells you which qualifier keys were pressed for
> > the last event, but I'm not sure if this covers all types of event (i.e.
> > it may only work for keypresses). But you can try it.
> I triedQualifiers, but it gives a memory pointer back.
> Maybe I have todo
> qualif.l = Peek.l(Qualifier)
Are you sure? I thought it was a longword which had bits set depending on
the qualifiers. But I've just checked the help and it says Qualifier only
deals with the key press events :/
IIRC there was an error with some of the Intuition commands, they were
described wrongly in some of the help texts, and I'm sure there was one
which was supposed to return a pointer but didn't or vice versa.
> But I`m not sure if this data belongs to the
> IDCMP Event I read out with the Blitzcommand "WaitEvent"
> Maybe Blitz reads out all pending IDCMP Events and queues them.
> Then the above data may belong to one of the next IDMP Events ...
>
> Any comment if this above is a good idea ?
Probably not a good idea.
The WaitEvent command will do a Wait() and then GetMsg() to wait for a
new intuition message and then remove it from the queue. I guess it then
stores the important fields of the message (so that you can then use
EventCode, GadgetHit, EventWindow etc) and then replies the message.
You could deal with the window messages using OS commands directly. It
isn't that difficult.
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie