FROM : Allen Dang
DATE : Mon Dec 31 16:28:36 2007
Hi,
I scrolled one NSScrollView programmatically like following:
NSPoint newPosition = NSMakePoint(0.0, 100.0);
[[scrollView documentView] scrollPoint:newPosition];
Ok, the scrollView did scroll to the new position, then I tried to
continuously scroll down by using the mouse wheel, but the
NSScrollView didn't work as I expected.
It will return to the the point(0.0, 0.0) at first and start to scroll
down rather then keep scrolling from point(0.0, 100.0).
What's happening? It drives me crazy....
Allen Dang
<email_removed>
DATE : Mon Dec 31 16:28:36 2007
Hi,
I scrolled one NSScrollView programmatically like following:
NSPoint newPosition = NSMakePoint(0.0, 100.0);
[[scrollView documentView] scrollPoint:newPosition];
Ok, the scrollView did scroll to the new position, then I tried to
continuously scroll down by using the mouse wheel, but the
NSScrollView didn't work as I expected.
It will return to the the point(0.0, 0.0) at first and start to scroll
down rather then keep scrolling from point(0.0, 100.0).
What's happening? It drives me crazy....
Allen Dang
<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Allen Dang | Dec 31, 16:28 | |
| Bill Bumgarner | Dec 31, 18:50 | |
| Allen Dang | Jan 1, 03:51 |






Cocoa mail archive

