On Jun 27, 2017, at 06:57 , Navneet Kumar <navnee...@me.com> wrote: > > A custom view when overlapped with a transparent view (subview to window’s > contentView) and a subview on top of transparent view, also shows the custom > cursor and tooltip assigned to the custom view. Even when the custom view’s > tracking area is with option NSTrackingActiveInVisibleRect.
This may be the correct behavior. If the overlapping view *doesn’t* have a tracking area, there may be nothing to change the cursor back again when it enters the overlapping view from the custom view. What happens depends on exactly what how you implement setting the cursor, and the behavior can be quite subtle and difficult to follow. > Sadly I got no responses, not even some clue to guide me in the right > direction…. I don’t think anyone fully understands your scenario. You refer to the various views so vaguely that I can’t keep track. (You’re having trouble with a custom view, but your image shows an issue with a combo box. Is that the custom view or is something else the custom view? What does "--subview—>” mean? Is it a subview relationship, or does it represent an intermediate subview in the hierarchy?) You would need to lay out the exact hierarchy of your window, with the geometry of all the views (i.e. how they overlap). That’s not so easy in a test message. You could try posting a sample project somewhere, and a few people might be prepared to look at it in details. However, based on the image you posted, it kinda looks like your intention is to “float” some kind of alert over the rest of the window contents. If that’s what you’re doing, you might have better success if you use a child window rather than subviews. Or a sheet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com