• 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
Re: end of sheet and re-activationg window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: end of sheet and re-activationg window


  • Subject: Re: end of sheet and re-activationg window
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 4 Nov 2002 11:27:02 +0100

On dimanche, nov 3, 2002, at 21:47 Europe/Paris, Yann Bizeul wrote:

Hi there,

I have a little problem using alert sheet : All works fine but when I
clic "OK" to close the sheet, the window does not seem to come back in
front, their buttons are gray, and the textField I just hilighted is
gray.
It seems makeKeyAndOrderFront does not activate the window ? Or this
action occures before the sheet is closed, but it should not...

- (void)sheetDidEnd: (NSWindow*)sheet returnCode: (int)returnCode
contextInfo: (void*)contextInfo
{
[ prefWindow makeKeyAndOrderFront: self ];
[ tunnelName selectText:self ];
}

It's working without having to add [ prefWindow makeKeyAndOrderFront: self ]; so maybe this is the problem.
_______________________________________________
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.
  • Follow-Ups:
    • Re: end of sheet and re-activationg window
      • From: Yann Bizeul <email@hidden>
References: 
 >end of sheet and re-activationg window (From: Yann Bizeul <email@hidden>)

  • Prev by Date: NSOutlineView and tool tips
  • Next by Date: Settings the Font Size used to draw a NSMenu
  • Previous by thread: end of sheet and re-activationg window
  • Next by thread: Re: end of sheet and re-activationg window
  • Index(es):
    • Date
    • Thread