• 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: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?


  • Subject: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
  • From: Carlo Gulliani <email@hidden>
  • Date: Thu, 29 Jan 2009 03:38:49 -0800 (PST)

i thought about it, but my app contain webView object, which is loading flash's animation. If i close first window and create new window with NSTitledWindowMask my flash animation is playing again from first frame.



________________________________
From: Mike Abdullah <email@hidden>
To: Carlo Gulliani <email@hidden>
Cc: email@hidden
Sent: Thursday, January 29, 2009 11:12:04 AM
Subject: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?

1) Changing the UI like this is almost always a bad idea

2) You can't change the style of a window once launched. But, you can close the old window and replace it with a new one in exactly the same location.

Mike.

On 29 Jan 2009, at 10:25, Carlo Gulliani wrote:

>
>
>
> hi, everybody. I have a problem:
>
> Can I change styleMask when my app already is launch? When app is launching i use NSBorderlessWindowMask, when i press any button i wanna use NSTitledWindowMask?
>
>
>
> _______________________________________________
>
> 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



_______________________________________________

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

  • Follow-Ups:
    • Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
      • From: Mike Abdullah <email@hidden>
References: 
 >change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how? (From: Carlo Gulliani <email@hidden>)
 >Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
  • Next by Date: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
  • Previous by thread: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
  • Next by thread: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
  • Index(es):
    • Date
    • Thread