• 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: I-beam curseroff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I-beam curseroff?


  • Subject: Re: I-beam curseroff?
  • From: Chad Seldomridge <email@hidden>
  • Date: Tue, 05 Sep 2006 16:45:18 -0600

If you want to hide the cursor while editing then you want
[NSCursor setHiddenUntilMouseMoves:YES];

chad seldomridge

>Date: Tue, 5 Sep 2006 12:16:28 -0700
>From: Douglas Davidson <email@hidden>
>Subject: Re: I-beam curseroff?
>To: Hans van der Meer <email@hidden>
>Cc: Cocoa Dev <email@hidden>
>Message-ID: <email@hidden>
>Content-Type: text/plain;	charset=US-ASCII;	delsp=yes;	format=flowed
>
>
>On Sep 2, 2006, at 6:41 AM, Hans van der Meer wrote:
>
>> I would like to switch the I-beam cursor off while editing a
>> textfieldcontrol for input; preferable as a configuring call during
>> the control's setup, but otherwise during/after getting its input.
>> I don't need the I-beam because the control is restricted to
>> contain one character at a time only and I find it distracting.
>> Of course I searched the documentation, but could not find how to
>> do this.
>> Would someone be so kind as to point me in the right direction?
>
>It sounds like you want to hide the cursor.  You can try setting up a
>tracking rect and hiding the cursor when the mouse passes inside it.
>The effect would be rather odd and definitely nonstandard, however.
>
>Douglas Davidson

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Using NSTask and NSPipe to perform a shell script
  • Next by Date: Re: Resize NSWindow Programatically
  • Previous by thread: Re: I-beam curseroff?
  • Next by thread: grey toolbar
  • Index(es):
    • Date
    • Thread