Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SetAspectRatio Display size



More over, when my code line is delete, have got this log :
*** -[NSLock _displayChanged]: selector not recognized
Mmay be a clue ?


>Hi,

>In my awakeFromNib I use this code line to change the ratio of my window:

> [mainWindow setAspectRatio:NSMakeSize(4.0, 3.0)];

>The problem is when I use my application, set my window to cover the entire
>screen and then reduce the size of my Display from 1024x768 to 800x600. The app
>bug and quit. If I delete this only line no problem (the window is to big for
>the screen but the app doesn't quit).

>Those someone experience the same problem, is it a bug or am I wrong ?



-----------------------------------
jean-michel daix / <email@hidden>
Sorry, I9m French !

visit <http://www.adforum.com>


References: 
 >SetAspectRatio Display size (From: jean-michel daix <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.