• 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
Problem with NSWindow setFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with NSWindow setFrame


  • Subject: Problem with NSWindow setFrame
  • From: "kalpana k" <email@hidden>
  • Date: Thu, 19 Jun 2008 12:20:26 +0530

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 there in this
monitor.
Monitor 2 : origin(0,-768)   size : (1024, 768)

The arrangement is Monitor2 is below Monitor1.

window setFrame: NSMakeRect(0,0,1024,1200)

If I set the height of the frame to 1200, the resultant window height is 640
only.
Why this is happening?


Thanks,
Kalpana
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with NSWindow setFrame
      • From: j o a r <email@hidden>
  • Prev by Date: getting free space available in a drive
  • Next by Date: Re: Problem with NSWindow setFrame
  • Previous by thread: Re: getting free space available in a drive
  • Next by thread: Re: Problem with NSWindow setFrame
  • Index(es):
    • Date
    • Thread