cocoa - NSScrollView scroll position -
i have nsview in nsscrollview. nsview large , need scroll manage object inside.
i want draw static rectangle in center of nsview without scrolling. want scrolling point (the nsclippoint?) in drawrect method of nsview can draw rectangle @ last step of drawrect make on top.
i have looked through doc , find methods set scroll point, not getting it. how can point?
the answer [[myscrollview contentview] documentvisiblerect]
Comments
Post a Comment