Greetings from a lovely fall day in the Rocky Mountains... The Aspen trees are turning color :)
In my two-years of building CAPI/GP-based software, I have constantly struggled to get areas to update/redraw on my command via gp:invalidate-rectangle.
Usually it happily updates, but about a third of the time various contortions are required to get an update. Sometimes, I throw my hands up; trash the piece of software under construction; and just start over from scratch - and eventually get the thing to update by some ugly contortion or the other.
I used to believe that I was simply more obtuse than most and just did not understand the fundamentals of the thing, but considering the remarkable workaround suggestions that I have received from Lisp-HUG (that actually work - ugly as they are), I no longer believe that, at least not completely :)
Spawning threads to do the update complete with message-receiving mailboxes and all the rest - Good Heavens!
The whole thing seems really quite arbitrary.
Question: Can someone suggest a reliable paradigm to get reliable redraws on command via gp:invalidate-rectangle - a set of rules that provides such reliability?????
If such a set of rules exist, I would love to see what they are - 80%+ of my CAPI/GP problems would simply go away if I knew what such a set of rules might be.
Thoughts?
Regards to the List.
Jack Harper ("Redraw me as still in the dark" :)
Secure Outcomes Inc.
Evergreen, Colorado USA