• 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
Rép: Why resizing doesn't work for me ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép: Why resizing doesn't work for me ?


  • Subject: Rép: Why resizing doesn't work for me ?
  • From: email@hidden
  • Date: Thu, 6 Dec 2001 18:59:22 +0100

Hello

Don't blame me if my question is stupid (I'm prety new to cocoa) but I don't see how you set your instance variable "myParentWindow" ? it seems to be the place where your troubles starts.

Herve
-----------------------
(traces*) live {
while ( alive == TRUE) {
[hatred release]; // always try to deallocate hatred
[love retain]; // better have a leak than a lack of love
[love performSelector: @selector (growAndSow:)
withObject: eachOther
afterDelay: 0 ];
}
[self autorelease];
return love;
}
----------------------

Le mardi 4 dicembre 2001, ` 09:39 , kubernan a icrit :

Nope.... it's not due to the lack of return of the init method.
I tried with and without..same pb. :-(


Le mardi 4 dicembre 2001, ` 09:22 PM, Edward Moy a icrit :

On Tuesday, December 4, 2001, at 01:20 AM, kubernan wrote:

Hello,

Because i had no response, i repost the same question : i don't find solution.

If i display more than one instance of the same window and call a resize function in my program,
the second window is resizing instead of the first one.

------ Create.m ---------
- (id)init {

self = [super init];

if (![NSBundle loadNibNamed:@"CreateWindow" owner:self]) {
NSLog(@"Can't launch : CreateWindow.nib");
[self release];
}

}


  • Prev by Date: Re: Yet another stupid question...
  • Next by Date: NewPtr vs malloc
  • Previous by thread: Re: talking to shell from cocoa/obj-c
  • Next by thread: NewPtr vs malloc
  • Index(es):
    • Date
    • Thread