nstrackingarea Questions

2

Solved

Okay, here is the problem: I have a NSTextView and I add my custom NSButton using: [_textView addSubview:button]; Then, inside my NSButton subclass, I have (along with the NSTrackingArea stuff):...
Tila asked 29/4, 2013 at 20:28

5

I'm trying to change the mouse cursor of a NSTextField in a window sheet, loaded from a NIB. Following the documentation, I have subclassed NSTextField and implemented resetCursorRects. - (void) ...
Epicycloid asked 22/8, 2012 at 18:49

1

Solved

I have an NSOutlineView that I'd ike to have mouseEntered: and mouseExited: updates during drag and drop. So I've tried to add an NSTrackingArea to it. Within my outline view sub-class I have: let...
Weatherman asked 13/3, 2017 at 18:17

2

Is there a way to set the cursor to a pointing hand over a text view without subclassing NSTextView? I read a lot about NSTrackingAreas, tested a lot of examples, set different tracking options an...
Zonazonal asked 1/12, 2012 at 10:17

2

Solved

I want to implement a feature that when an user hovers over the specific area, the new view appears with drawer-like animation. And also, when the user leaves the specific area, the drawer should g...
Colorless asked 28/2, 2015 at 3:11

1

I’ve got a utility Mac application that runs in the background (LSUIElement enabled). Under some condition this application displays a menu window with several buttons. The problem is that when I h...
Businessman asked 4/4, 2011 at 8:43

2

Solved

Why mouseExited/mouseEntered isn't called when mouse exits from NStrackingArea by scrolling or doing animation? I create code like this: Mouse entered and exited: -(void)mouseEntered:(NSEvent *)...
Overland asked 23/1, 2012 at 22:37

2

Solved

I have a Status-Bar item only app that Iam trying to get to show a panel on mouseOver. I have the custom status item (and associated view) hooked up and working, but the tracking rect is only recei...
Joy asked 17/7, 2012 at 15:5
1

© 2022 - 2024 — McMap. All rights reserved.