RE: Help needed in NSSplitView
RE: Help needed in NSSplitView
- Subject: RE: Help needed in NSSplitView
- From: Vinay Prabhu <email@hidden>
- Date: Thu, 29 Jun 2006 20:38:01 +0530
- Importance: Normal
Here is the code,
This method will restrict the resizing, but it will block the
interaction with the controls inside the view...
- (void)splitView:(NSSplitView *)sender
resizeSubviewsWithOldSize:(NSSize)oldSize
{
int iCount = 0;
NSArray* subviews = [sender subviews];
int subcount = [subviews count];
id temp[subcount];
for(iCount = 0; iCount < subcount; iCount++)
{
[temp[iCount] setFrameSize:oldSize];
}
[sender adjustSubviews];
}
-----Original Message-----
From: I. Savant [mailto:email@hidden]
Sent: Thursday, June 29, 2006 8:26 PM
To: Vinay Prabhu
Cc: email@hidden
Subject: Re: Help needed in NSSplitView
How? Post your code. :-)
--
I.S.
On Jun 29, 2006, at 10:08 AM, Vinay Prabhu wrote:
> I have tried implementing all the delegate method's.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden