• 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
NSView Stacked Mouse Moves
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView Stacked Mouse Moves


  • Subject: NSView Stacked Mouse Moves
  • From: Jack <email@hidden>
  • Date: Mon, 7 Feb 2005 00:42:55 +0000

Developers,

I have three NSView all stacked over one another.

The first NSView draws a background.

The second NSView takes a long time to draw and does various drawings on the (partial) parentView.

The third view is meant to track mouse moves.

I recieve events and my wish is to render just the last NSView - ie the third view - for performance reasons.

In my third NSView - I use a NSBezierPath and also use the NSGraphics.drawAttributedString method.

I have used the isOpaque and that seems to render just the third view.

But I cant clear the third NSView - If i use a color and fill the rect then the contents behind will not show.

If i use a clearColor then the rect is not fresh.

Somehow I am looking for a way to render just the third NSView fresh each time.

I have tried various different ways such as removing the NSView and then atttaching it right back.

That did not help.

Please can someone give me some advice.

Many Thanks

With Kind Regards,

----------------------------
Jack

_______________________________________________
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: CFDateFormatter + time zone = failure or crash
  • Next by Date: Re: Basic issues regarding Tables
  • Previous by thread: Re: CFDateFormatter + time zone = failure or crash
  • Next by thread: dealloc never called
  • Index(es):
    • Date
    • Thread