• 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: Help needed in NSSplitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Help needed in NSSplitView
      • From: "I. Savant" <email@hidden>
References: 
 >Re: Help needed in NSSplitView (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Help needed in NSSplitView
  • Next by Date: Re: How does -getLineStart:end:contentsEnd:forRange work ?
  • Previous by thread: Re: Help needed in NSSplitView
  • Next by thread: Re: Help needed in NSSplitView
  • Index(es):
    • Date
    • Thread