How to determine if a view is active
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.