NSWindow losing track of its buttons/controls
NSWindow losing track of its buttons/controls
- Subject: NSWindow losing track of its buttons/controls
- From: Craig Hunter <email@hidden>
- Date: Thu, 08 Jun 2006 12:29:13 -0400
I have noticed this annoying behavior in a couple apps I am developing. If
the app (single threaded) is crunching heavily on some data and I move its
window, the "click area" position of all buttons and controls is never
updated -- they remain in the old virtual positions even though the
buttons/controls are now in a different place. So, if a user later goes to
click on something in the window, chances are they will be clicking on
something else (whatever button used to be in that place) or nothing at all
-- but not the button/control that's currently under the mouse. The only
way to refresh everything is to grab the window's title bar and move it.
I have tried a couple attempts to remedy this, but nothing works well. I
was wondering if anyone else has run into this issue and found a fix. I
assume there may be some window setting that prevents this from happening.
I would hate to have to detect window moved events and try to force an
update -- especially since this happens when the app is under load and it
might not be efficient.
Thanks,
Craig
--
Dr. Craig Hunter
NASA Langley Research Center
Configuration Aerodynamics Branch
email@hidden
(757) 864-3020
_______________________________________________
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