• 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: NSMatrix Opacity ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix Opacity ?


  • Subject: Re: NSMatrix Opacity ?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 7 Oct 2001 23:17:16 -0700

On Sunday, October 7, 2001, at 10:06 PM, Lizardo H. C. M. Nunes wrote:

Hi,

I'm playing around with the AppKit and now I'm studying different kind of
matrixes. A piece of my " MyMatrix.m " is as follows,

- (id)initWithFrame:(NSRect)frameRect
{
( ... )

[ self initWithFrame:frameRect
mode:(int) aMode
prototype: (id) aCell
numberOfRows: (int) anInteger
numberOfColumns: (int) anInteger ];

( ... )

return self;

}

I also have

" -( BOOL )isOpaque{ return YES; } "


Unfortunately, I can't resize the Window without loosing Matrix
definition.

What do you mean by "losing definition"? Is the matrix failing to redraw?

I tried

[ self setNeedsDisplay: YES ];

in " -( id )iniWithFrame: ... " above and it didn't work. I'm pretty sure
there's a simple solution, but I couldn't figure it out.

- initWithFrame: is only going to get called once.

In your nib file, have you set your matrix to be resizeable?

-jcr

"I fear all we have done is to awaken a sleeping giant and fill him with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.


References: 
 >NSMatrix Opacity ? (From: "Lizardo H. C. M. Nunes" <email@hidden>)

  • Prev by Date: Re: Cocoa newbie frustration
  • Next by Date: Re: Application icon
  • Previous by thread: NSMatrix Opacity ?
  • Next by thread: Re: NSMatrix Opacity ?
  • Index(es):
    • Date
    • Thread