Re: Problem with NSWindow setFrame

2008-06-19 Thread kalpana k
I had tried NSMakeRect(0.0, -768.0, 1024.0, 1200.0) also. But still the Window is displayed with height 640 only. I had get the window bounds after seeting the bounds. It is giving the height as 1200, but the window is displayed with only 640 height. Is there any default setting which is preventin

Re: Problem with NSWindow setFrame

2008-06-19 Thread j o a r
On Jun 18, 2008, at 11:50 PM, kalpana k wrote: window setFrame: NSMakeRect(0,0,1024,1200) Should this not be something more like: NSMakeRect(0.0, -768.0, 1024.0, 1200.0) Also note that, according to the documentation: "Note that any NSWindow with a title bar automatically constra

Problem with NSWindow setFrame

2008-06-18 Thread kalpana k
Hi all, I am working with dual monitor application. I want to extend the NSWindow to dual monitor. But the problem is that its height is not extending. i.e. the height of the window is set to height of a single monitor. for example : Monitor 1 : origin: (0,0) size : (1024, 640) - Window is