Re: Cocoa equivalent for SetWindowProperty in Carbon
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