• 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
adjustPageWidthNew
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adjustPageWidthNew


  • Subject: adjustPageWidthNew
  • From: John MacMullin <email@hidden>
  • Date: Fri, 28 Oct 2005 12:27:56 -0700

I am trying to get my current NSView object to conform to the new page width as the user determines from the pagelayout dialog.

NSSize printSizeOfPaper = [printInfo paperSize]; //This is the new size
NSRect currentRect = [myView frame];
[myView adjustPageWidthNew: (float)printSizeOfPaper.width left: NSMinX(currentRect) right: NSMaxX(currentRect) limit: (float)printSizeOfPaper.width];


On the compile for the "adjustPageWidthNew", I continue to get the following error: processCompany.m:63: error: incompatible type for argument 3 of indirect function call.

I have checked the documents and header and it calls for a float.

Any nudge in the right direction would be helpful.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: adjustPageWidthNew
      • From: Frédéric Testuz <email@hidden>
  • Prev by Date: Re: Generating ligature glyphs
  • Next by Date: NSDatePicker / bindings / validation
  • Previous by thread: (*Solved*) Binding Problem: Double-Click on NSTableView object creates a signal 10 (SIGBUS) error
  • Next by thread: Re: adjustPageWidthNew
  • Index(es):
    • Date
    • Thread