Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Mouse Events in PDFView



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Missing Mouse Events in PDFView (From: Alexander Griekspoor <email@hidden>)
 >Re: Missing Mouse Events in PDFView (From: "Adam R. Maxwell" <email@hidden>)
 >Re: Missing Mouse Events in PDFView (From: Alexander Griekspoor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.