Gadgets & Consoles
11-Oct-94 18:33:41
Sb: #43022-Gadgets & Consoles
Fm: Robert Wilcox 70107,717
To: Graham Thwaites 100434,3011
GT_GetImsg is pulling messages from the message port. By the time the message
is pulled, I believe Intuition has done all it intends to since all types of
messages could have been put there (mouse moves, etc) befor the app gets around
to pulling the message.
Now it could be that your list of cycle values is not as you intend. You could
establish this with a small test program that opens the window with the gadget
and then sets the active items in a loop (0..n-1). This will detect an invalid
list. Also, is the list in scope where ever it needs to be referenced? You may
need to explicitly allocate memory if the list is created within one function
and used within another – or make it global, pass its address to the function,
etc.
Bob