Hi,
Everything's working great with my
MyReadProc MIDI
input routine. However, I
can't for the life of me, seem
to be able to draw to the screen
from within this thread.
It looks like I don't want to post
an event, and draw to the screen
from within a main thread since PostEvent( )
documentation says pretty much not
to use PostEvent().
Want to avoid CFRunLoop if
possible.
I only need to draw a few tiny,
fast things, but none of
my draw routines work -- and
MyReadProc appears to be working
beautifully.
I've written things
like:
SetPort(GetWindowPort(FrontWindow()));
...and: set port
bounds, get window port bounds routines
into a rectangle, etc.
at the end of MyReadProc
before I draw, but nothing draws to
the screen (until I move
my mouse)
perhaps I'm barking up the
wrong tree.
Has anyone encountered
this?
Much appreciated,
Paul Swearingen San
Jose 408-258-0233
|