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

Re: adjustPageWidthNew


  • Subject: Re: adjustPageWidthNew
  • From: Frédéric Testuz <email@hidden>
  • Date: Sat, 29 Oct 2005 09:38:32 +0200


Le 28 oct. 05 à 21:27, John MacMullin a écrit :

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.

No, it calls for a float * (note the asterisk

Frédéric

_______________________________________________
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


References: 
 >adjustPageWidthNew (From: John MacMullin <email@hidden>)

  • Prev by Date: Re: getting the full user name
  • Next by Date: Newbie Q : connections with nib files in other projects
  • Previous by thread: adjustPageWidthNew
  • Next by thread: NSDatePicker / bindings / validation
  • Index(es):
    • Date
    • Thread