How to resolve conflict between 2 NSPanels?
How to resolve conflict between 2 NSPanels?
- Subject: How to resolve conflict between 2 NSPanels?
- From: Luc Vandal <email@hidden>
- Date: Fri, 11 Nov 2005 11:29:54 -0500
Hi!
I've been experiencing a weird problem lately with 2 dialogs. I don't
know where the conflict could be (in the nib file?). Basically,
dialog 1 will receive notifications that were supposed to be received
by dialog 2 and vice-versa.
In the notification function, I check if the window is correct so I
guess that at some point both dialogs have the same address in memory?
//
// WindowDidBecomeKey
//
//
/////////////////////////////////////////////////////////
- (void)WindowDidBecomeKey:(NSNotification*)notification
{
if( [self window] == [notification object] )
{
...
...
What could cause this and how can it be prevented?
Thanks!
Luc
_______________________________________________
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