SetAspectRatio Display size
SetAspectRatio Display size
- Subject: SetAspectRatio Display size
- From: jean-michel daix <email@hidden>
- Date: Wed, 31 Oct 2001 12:30:59 +0100
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>