I'm lost. I know this must be simple, but I can't find it. All the documentation and sample code I have looked at assumes that I will be drawing in a view after a kEventControlDraw event and the context is retrieved from the GetEventParameter. I want to simply draw in a window after the user selects a menu item. This generates a command event - not a draw event?
How can I draw to a window controled by a menu command event? I can definie an HIView - but how do I get the graphics context from the HIView?
Thanks, Meg
How can I draw to a window controled by a menu command event? I can definie an HIView - but how do I get the graphics context from the HIView?
Thanks, Meg