[comp.sys.amiga.tech] Dynamic Gadget Allocation Problem

ja26612@uxa.cso.uiuc.edu (06/28/90)

Hi.  I have a problem I was hoping someone could help me find a solution to.
I am working on an Intuition interface.  At a certain point, when a user
presses the left mouse button, a new gadget is created and placed under the
mouse pointer.  The problem is that I want the user to be able to move the
gadget while he has the mouse button held down, so I need to get MOUSEMOVE
events.  But for some reason, it seems like Intuition doesn't look at the
window's flags until after the mousebutton is released.  Any suggestions?

-------------------------------------------------------------------------------
Jeff Axelrod                 | "If you chose not to decide, you still have made
ja26612@uxa.cso.uiuc.edu     |  a choice" -Neil Peart, Rush   /// 
axelrod@mrcnext.cso.uiuc.edu |                              \XX/ AMIGAUSER
-------------------------------------------------------------------------------

ja26612@uxa.cso.uiuc.edu (06/29/90)

I found the problem.  I just was setting REPORTMOUSE on the IDCMP Flags instead
of the Window Flags.  Oh well, I trashed the idea of using gadgets once I got
it to work because it was really cheesy because they can't overlap.  So, I
am making my own linked list and processing the info myself.

I am sure you are all really interested.  :|

-------------------------------------------------------------------------------
Jeff Axelrod                 | "If you chose not to decide, you still have made
ja26612@uxa.cso.uiuc.edu     |  a choice" -Neil Peart, Rush   /// 
axelrod@mrcnext.cso.uiuc.edu |                              \XX/ AMIGAUSER
-------------------------------------------------------------------------------