Move cursor on scrollWheel:(NSEvent *)event
up vote
0
down vote
favorite
I'm using - (void)scrollWheel:(NSEvent *)event;
to move around a NSView
inside a NSViewController
. Moving and detecting the scrollWheel Event works just fine - however the cursor on the screen stays at it's inital position once the scroll event begins (I guess it's the intended behaviour). Is there a possibility to move the cursor based on the scroll movement?
objective-c swift macos
add a comment |
up vote
0
down vote
favorite
I'm using - (void)scrollWheel:(NSEvent *)event;
to move around a NSView
inside a NSViewController
. Moving and detecting the scrollWheel Event works just fine - however the cursor on the screen stays at it's inital position once the scroll event begins (I guess it's the intended behaviour). Is there a possibility to move the cursor based on the scroll movement?
objective-c swift macos
Will the user expect this behaviour?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using - (void)scrollWheel:(NSEvent *)event;
to move around a NSView
inside a NSViewController
. Moving and detecting the scrollWheel Event works just fine - however the cursor on the screen stays at it's inital position once the scroll event begins (I guess it's the intended behaviour). Is there a possibility to move the cursor based on the scroll movement?
objective-c swift macos
I'm using - (void)scrollWheel:(NSEvent *)event;
to move around a NSView
inside a NSViewController
. Moving and detecting the scrollWheel Event works just fine - however the cursor on the screen stays at it's inital position once the scroll event begins (I guess it's the intended behaviour). Is there a possibility to move the cursor based on the scroll movement?
objective-c swift macos
objective-c swift macos
asked 19 hours ago
nor0x
704927
704927
Will the user expect this behaviour?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago
add a comment |
Will the user expect this behaviour?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago
Will the user expect this behaviour?
– Willeke
12 hours ago
Will the user expect this behaviour?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371031%2fmove-cursor-on-scrollwheelnsevent-event%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Will the user expect this behaviour?
– Willeke
12 hours ago
Possible duplicate of How can I set the mouse position?
– Willeke
12 hours ago