• 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: question on disclosure triangle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on disclosure triangle


  • Subject: Re: question on disclosure triangle
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 24 Jul 2002 14:19:35 +0200

On Wednesday, July 24, 2002, at 12:05 , Chong Hiu Pun wrote:

If I want to
display my application window in compact or expand mode:
---------------- -----------------
| | ------> | |
| | -----------------
----------------
(expand mode) (compact mode)

, without disclousre triangle, How can I achieve it using cocoa programming?

The simplest and most intuitive way would be using the -windowWillResize:toSize: window delegate method to limit the window size to the two desired sizes. See FileMerge's "open panel" for a nice example.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >question on disclosure triangle (From: "Chong Hiu Pun" <email@hidden>)

  • Prev by Date: Re: NSFileSize only returns nil or "6148"
  • Next by Date: Re: Retain/release objects in an array...
  • Previous by thread: question on disclosure triangle
  • Next by thread: question on cocoa button 1
  • Index(es):
    • Date
    • Thread