Re: Missing Mouse Events in PDFView
Re: Missing Mouse Events in PDFView
- Subject: Re: Missing Mouse Events in PDFView
- From: John Calhoun <email@hidden>
- Date: Wed, 31 Oct 2007 10:53:40 -0700
On Oct 31, 2007, at 8:11 AM, Alexander Griekspoor wrote:
No workaround yet, other than using setCurrentSelection, which is
not too bad. However, I still am facing the problem of getting to
convert a point from the PDFSelection boundary to the right format
used to popup the menu.
This is a common problem with PDFView since it has its own nested
subviews. To access the inner-most view (where PDF content and
selectiosn are drawn) use PDFViews: [PDFView documentView]
Your conversion needs I think one more convert then — something like:
popupPoint = [_pdfView convertPoint: popupPoint toView: [_pdfView
documentView]];
john calhoun—_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden