• 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: want to keep a main window still, not close
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: want to keep a main window still, not close


  • Subject: Re: want to keep a main window still, not close
  • From: Jack Repenning <email@hidden>
  • Date: Tue, 8 Apr 2008 14:43:30 -0700


On Apr 8, 2008, at 2:31 PM, norio wrote:
Would you tell me how to remain the main window? Of course, it must close if user clicks
the close box of the window.

I'm not certain I understand your whole question, but at least a part of the answer seems to be to define


	- (BOOL)windowShouldClose:(id)window

as
	return NO;

Well, you might have some more complicated determination that merely returning NO, but you get the idea.

-==-
Jack Repenning
email@hidden
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >want to keep a main window still, not close (From: norio <email@hidden>)

  • Prev by Date: want to keep a main window still, not close
  • Next by Date: Re: missing (some) window names in Window menu
  • Previous by thread: want to keep a main window still, not close
  • Next by thread: Re: want to keep a main window still, not close
  • Index(es):
    • Date
    • Thread