• 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: forcing a dialog to be the active (front) window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing a dialog to be the active (front) window


  • Subject: Re: forcing a dialog to be the active (front) window
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 23 Jul 2004 02:58:55 +0200

Am 23.07.2004 um 00:07 Uhr schrieb Jim Ways:

[thePanel makeKeyAndOrderFront: @"1"];

seems to work for some reason, im still new to cocoa
but its worth a try =)

This really shouldn't make a difference. The argument is just the sender and in this case I believe it's only there so that the method signature is that of an action method (<http://developer.apple.com/documentation/Cocoa/Conceptual/ BasicEventHandling/Concepts/ActionEventMsg.html>).

Using a constant string as sender argument is - umm - strange. I'd recommend using nil or self instead.


Andreas
_______________________________________________
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.


References: 
 >Re: forcing a dialog to be the active (front) window (From: Jim Ways <email@hidden>)

  • Prev by Date: Re: How to program the help button?
  • Next by Date: Re: X windows display and fast user switching
  • Previous by thread: Re: forcing a dialog to be the active (front) window
  • Next by thread: Re: forcing a dialog to be the active (front) window
  • Index(es):
    • Date
    • Thread