• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ObscureCursor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObscureCursor?


  • Subject: Re: ObscureCursor?
  • From: Greg Titus <email@hidden>
  • Date: Wed, 18 Apr 2007 12:37:27 -0700

See the NSCursor method +setHiddenUntilMouseMoves:.

Hope this helps,
	- Greg


On Apr 18, 2007, at 12:32 PM, John Turnipseed wrote:


Under Carbon, back in the old QuickDraw days, and even until Tiger, there was a call named ObscureCursor that is deprecated under Tiger.


When called, it would cause the mouse cursor to hide until the mouse is moved, when it would be shown again automatically. It worked outside of the HideCursor/ShowCursor state, in that if you called ObscureCursor after a HideCursor call, mouse movement would not reveal the cursor, until a ShowCursor is made.

It was designed for text entry fields so that when the user begins typing the mouse cursor hides until the user moves the mouse. The NSTextView and NSTextField seem to do this automatically, but what about other views where this could be useful? Say QTMovieView for instance? What about QCViews?

What's the replacement? How do I get that functionality in a Cocoa application without having to reinvent the wheel?

-=- John
______________________________________________________________________ _______
John Turnipseed | "The most likely way for the world to be destroyed,
Mac Driver/Programmer | most experts agree, is by accident. That's where
email@hidden | we come in; we're computer professionals.
email@hidden | We cause accidents." -- Nathaniel Borenstein




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >ObscureCursor? (From: John Turnipseed <email@hidden>)

  • Prev by Date: ObscureCursor?
  • Next by Date: [Cocoa] Design Question for an NSMenu subclass
  • Previous by thread: ObscureCursor?
  • Next by thread: [Cocoa] Design Question for an NSMenu subclass
  • Index(es):
    • Date
    • Thread