I have some QD calls that draw stuff. Problem is, often the drawing
occurs at the right coordinates, but in the wrong window. So I guess
I need to set the grafport of a particular window.
Do I use SetPort? If so, what do I pass?
SetPort self.macWindowPtr causes a crash so that's not it.
Any ideas?
Incidentally, this wasn't an issue with earlier versions of RB, but
since 2K5 and 2K6, activating a window does not reset the grafport
accordingly.
Thanks,
Peter.
--
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel: (613)761-5444
fax: (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|