Re: Programming NSImageView
Re: Programming NSImageView
- Subject: Re: Programming NSImageView
- From: email@hidden
- Date: Fri, 22 Feb 2002 17:10:50 +0000
Since NSImageView is a subclass of NSView you should just be able to
addSubView on your imageView object to the contentView of the window. try
loking at the docs for NSView and NSControl. It should be that simple Or
maybe im missing something since im using the java API.
jean-michel daix <email@hidden>@lists.apple.com on 22/02/2002 04:32:28 PM
Sent by: email@hidden
To: <email@hidden>
cc:
Subject: Programming NSImageView
Hi, just a stupid question as always :
I've got a NSImageView that I control.
[MyImageView setFrame: NSMakeRect (0.0, 240.0, 18.0)];
[MyImageView setImageScaling:NSScaleNone];
[MyImageView setImageFrameStyle:NSImageFrameNone];
[MyImageView setImageAlignment:NSImageAlignRight];
[MyImageView setToolTip:myTest];
I've connected myImageView in Interface Builder and everything goes well.
But now, I want to create my NSImageView without Interface Builder. I mean
programmed the creation and display of an NSImageView in my Window. I don't
know if it's possible because I don't find documentation about it. May be
someone can help me.
Thanks.
-----------------------------------
Jean-Michel DAIX / <email@hidden>
Sorry, I9m French !
visit <
http://www.adforum.com>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
**********************************************************************************
Please visit the web site of the Financial Times at:
http://www.ft.com
For UK personal finance, please visit
http://www.ftyourmoney.com
For real-time market news and tools for the private investor, please visit
http://www.ft.com/investor
IMPORTANT NOTICE AND DISCLAIMER
Please note that this email transmission is confidential and may be privileged.
If you are not the intended recipient you must not use, disclose or
disseminate this message or any associated files. Please notify the sender
immediately if you receive this transmission in error and then delete this
email. Thank you for your co-operation.
Internet communications cannot be guaranteed to be secure. The Financial
Times Limited (or the FT group company that has sent this email) does not
accept liability for any errors, alterations or omissions in the contents of
this message that arise as a result of email transmission. Please call the
sender if you suspect that the message has been intercepted or amended.
Outgoing and incoming email messages may be monitored for security and
customer service purposes.
This message has been sent via the FT.com email service for The Financial
Times Limited or on behalf of other FT group companies who also use this
facility. The Financial Times Limited Registered office: Number One Southwark
Bridge, London, SE1 9HL, United Kingdom. Registered in England and Wales
no 227590
email@hidden
**********************************************************************************
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.