[comp.sys.amiga] Questions on AddGlist

chin-lon@puff.UUCP (03/14/87)

I am posting this for a friend. Please reply by E-Mail, all you
kind souls who are lucky enough to get 1.2 docs. Thanks.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
First, does the 1.2 Intuition routine AddGList work?  every time I use
it, it freezes my system.  I've tried most combinations of data types,
but it always freezes the system.  RemoveGList and RefreshGList seem to
work OK, once you correct for the Long's business, but AddGList() just
flat out refuses to work.

Also, is something wrong with SetPointer in 1.2?  My code seems fine,
but when i SetPointer, my pointer disappears, and won't come back until
I ClearPointer() to get the intuition default back.  I also noticed this
problem with a sprite editor I was using to define my new cursors
(SpriteMaker)  This leads me to wonder if something new must be done to
change the pointer in 1.2

One final question:  Two parts or so, really.  One:  Is it okay for me
to just Reply to a bunch of intuimessages but not do anything about
them?  (say I am waiting for a specific event, and I don't want anything
else to happen until I get it).
Two:  When I have been playing around a bit with my gadgets (sound sick)
sometimes when I click the LMB, there will be a long pause before the
system responds.  Have I done something to Intuition?  Any ideas?
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Chin-Long Cheng
UW Madison
chin-lon@puff.wisc.edu

higgin@cbmvax.UUCP (03/15/87)

In article <552@puff.WISC.EDU> chin-lon@puff.WISC.EDU (Chin-long Cheng) writes:
$Also, is something wrong with SetPointer in 1.2?  My code seems fine,
$but when i SetPointer, my pointer disappears, and won't come back until
$I ClearPointer() to get the intuition default back.  I also noticed this
$problem with a sprite editor I was using to define my new cursors
$(SpriteMaker)  This leads me to wonder if something new must be done to
$change the pointer in 1.2

I didn't have any problem with this... have you added memory to your system
when you went to 1.2?  Sounds awfully like your images are in fast ram and
you haven't made sure your chip data goes into chip ram.

$One final question:  Two parts or so, really.  One:  Is it okay for me
$to just Reply to a bunch of intuimessages but not do anything about
$them?  (say I am waiting for a specific event, and I don't want anything
$else to happen until I get it).

Bad programming practice.  You should disable those things you don't want
to get events from... disable menus and gadgets you don't want to hear from,
and turn off certain idcmp's if you don't want to hear those either.
Remember, as an EVENT driven program, you should only wake up on those things
you're interested in, in a given context.

$Two:  When I have been playing around a bit with my gadgets (sound sick)
$sometimes when I click the LMB, there will be a long pause before the
$system responds.  Have I done something to Intuition?  Any ideas?
$Chin-Long Cheng

Maybe you've done something that requires intuition to do a lot of layer
shuffling or something similar, which could 'soak' the machine temporarily.

	Paul Higginbottom.

Disclaimer: These are my opinions only.