• 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: Cocoa equivalent for SetWindowProperty in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa equivalent for SetWindowProperty in Carbon


  • Subject: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 18 Apr 2012 22:02:33 -0500

On Apr 18, 2012, at 1:53 AM, Sanjay Arora wrote:

> Hi I am a newbie on Cocoa application development and could not find any
> method in NSWindow which does the same job as SetWindowProperty used to
> do in Carbon,
>
> Could some one point me to right direction.

I’m not an expert on Carbon by any estimation, but from the documentation it looks like SetWindowProperty is meant to associate some random chunk of data with a window. Instead of this, you might want to just consider adding a property to the NSWindowController subclass (or to the NSDocument subclass if this is a document window) that manages the window.

Charles


_______________________________________________

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


References: 
 >Displaying '%' in the UI (From: The Rhythmic <email@hidden>)
 >Re: Displaying '%' in the UI (From: Velocityboy <email@hidden>)
 >Cocoa equivalent for SetWindowProperty in Carbon (From: Sanjay Arora <email@hidden>)

  • Prev by Date: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • Next by Date: Core Data : Rare, unreproducible SQLite Constraint Error 19
  • Previous by thread: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • Next by thread: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • Index(es):
    • Date
    • Thread