Tracking Rect problem.
Tracking Rect problem.
- Subject: Tracking Rect problem.
- From: ARATHI A <email@hidden>
- Date: Thu, 8 Sep 2005 10:03:24 +0530
- Organization: NeST-India
Hi all,
I am new XCode user.I have a serious problem related to tracking
rect for mouse entered and exited event.In my application I use custom
NSButton.This button has three states.Normal , Normal focused and active
state.I first sub class NSButton and add mouseDown , mouseEntered and
mouseExited.In mouseDown I load active state image to the button, in
mouseEntered I load i load normal focused state image and mouseExited I load
normal state image to the NSButton.
1: Normal - normal state.
2:Normal Focused - Mouse over the button.
3:Active state - Mouse over the button as well as the functionality is
executed.
I add tracking rectangle in awakeFromNib .In the display resolution 1024 x
768 and above my button work fine.But I reduce the resolution like 800x600 ,
the mouseEntered event occurs irregularly.When i move the mouse over the
button the normal focused image donot load.It will load when i move the
mouse cursor below the area of my NSButton placed.I think the problem is due
to adding the tracking rect for mouse entered and mouseExited event.
Anybody who knows about this problem please share your experience and
knowledge with me.
Thanks in advance
Arathi A
---------------------------------------------------------------------------
"This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken upon this e-mail is
strictly prohibited and may be unlawful."
---------------------------------------------------------------------------
_______________________________________________
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