Re: question on disclosure triangle
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.