• 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
How to determine if a view is active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to determine if a view is active


  • Subject: How to determine if a view is active
  • From: Christoph Gerdes <email@hidden>
  • Date: Wed, 4 Jun 2003 17:58:07 +0200

Hi,
I subclassed an NSImageView to add drag and drop capabilities. Now
I want to highlight the view if it gets clicked on. (Pretty much like
iPhoto draws a blue rectangle arround a picture once you clicked on it)
Of course if the view is no longer active the surrounding rectangle
shall vanish. Drawing the rectangle itself is no problem but how can
I find out whether the view is active or not?

This might be documentated somewhere but I wasn't able to find it, maybe
because I don't know what I am looking for. So a pointer to the right
document or keywords of what I'm actually looking for would help me too.

Thanks in advance.
Christoph

--
4CD3 152A F59A 2788 3E29 9CC5 7502 DA0B 705B 0564
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Where to find CGSDisplayAddress
  • Next by Date: Re: User friendly machine name (gestaltUserVisibleMachineName?) [SOLVED]
  • Previous by thread: Re: Where to find CGSDisplayAddress
  • Next by thread: Re: How to determine if a view is active
  • Index(es):
    • Date
    • Thread