• 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 resolve conflict between 2 NSPanels?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to resolve conflict between 2 NSPanels?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Closing a sheet
  • Next by Date: Re: How to resolve conflict between 2 NSPanels?
  • Previous by thread: Re: Closing a sheet
  • Next by thread: Re: How to resolve conflict between 2 NSPanels?
  • Index(es):
    • Date
    • Thread