FROM : John Q.
DATE : Thu Jan 23 16:08:10 2003
Hey cool thank you!!
Can I make a window transparent with this funktion too?
Thanks
John
Am Donnerstag, 23.01.03, um 10:18 Uhr (Europe/Budapest) schrieb Sascha
Kujawa:
>> is it possible to deform, like another high, when i have made a
>> method like openwindow?
>> must I bring the window to an outlet with the IB?
>
> I just tried to implement an action method, so when
> clicking a button of that window, it will resize. I am just
> starting to learn cocoa, but maybe this code inspires?
> And of course I am also interested in other options :)
>
>
> - (IBAction)SetSizeY:(id)sender
> {
> NSRect myRect;
> NSWindow *myWindow = [sender window];
>
> myRect = [myWindow frame];
> myRect.size.height = 400.0;
> [myWindow setFrame:myRect display:YES]; }
>
>
> Not sure if I need to add some retain/release but it works :)
>
>
> --
> Sascha Kujawa
> http://www.zeitfraktur.de
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 23 16:08:10 2003
Hey cool thank you!!
Can I make a window transparent with this funktion too?
Thanks
John
Am Donnerstag, 23.01.03, um 10:18 Uhr (Europe/Budapest) schrieb Sascha
Kujawa:
>> is it possible to deform, like another high, when i have made a
>> method like openwindow?
>> must I bring the window to an outlet with the IB?
>
> I just tried to implement an action method, so when
> clicking a button of that window, it will resize. I am just
> starting to learn cocoa, but maybe this code inspires?
> And of course I am also interested in other options :)
>
>
> - (IBAction)SetSizeY:(id)sender
> {
> NSRect myRect;
> NSWindow *myWindow = [sender window];
>
> myRect = [myWindow frame];
> myRect.size.height = 400.0;
> [myWindow setFrame:myRect display:YES]; }
>
>
> Not sure if I need to add some retain/release but it works :)
>
>
> --
> Sascha Kujawa
> http://www.zeitfraktur.de
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| John Q. | Jan 23, 07:30 | |
| Sascha Kujawa | Jan 23, 10:18 | |
| Sascha Kujawa | Jan 23, 14:00 | |
| John Q. | Jan 23, 16:08 | |
| Sascha Kujawa | Jan 23, 16:51 |






Cocoa mail archive

