• 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 window initially hidden in IB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa window initially hidden in IB?


  • Subject: Re: Cocoa window initially hidden in IB?
  • From: "a.d. jensen" <email@hidden>
  • Date: Thu, 27 Oct 2005 14:52:18 -0500

On Oct 27, 2005, at 1:21 PM, j o a r wrote:

On 27 okt 2005, at 19.23, a.d. jensen wrote:

The visual resizing is what I need to avoid, simplest way seeming to be not showing the window until it has loaded (and been resized.)

I assume that you open the new window something like this (It's from the WebKit ObjC Multiple Windows guide)?
<snip>
Have you tried passing NO for the display parameter?

No, for some reason, I didn't notice that parameter :-)

However, passing NO there results in the window being (apparently) permanently invisible. I tried putting makeKeyAndOrderFront: in a number of places that get called once the window is created (like webViewShow: and didFinishLoadForFrame:) and the window never appears.

If that doesn't work, I would suggest creating a new WebView for the request and waiting for it to load, and only at that point, creating a window for the view.

I will give that a shot, thanks.

This seems like a ridiculously large amount of work for what in Carbon is a simple checkbox in IB with a ShowWindow(window); call!!! I hope that someone at Apple is paying attention to this kind of stuff.


dale

--
email@hidden   http://adjensen.aatrix.com

Only a fool turns away from an angel,
Vision in white steps through the door,
Holds out her hand, I say 'No I'm not ready'
I open my eyes and let the dream fade away.
  -- echolyn, "on any given nite"


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Cocoa window initially hidden in IB?
      • From: j o a r <email@hidden>
References: 
 >Cocoa window initially hidden in IB? (From: "a.d. jensen" <email@hidden>)
 >Re: Cocoa window initially hidden in IB? (From: j o a r <email@hidden>)
 >Re: Cocoa window initially hidden in IB? (From: "a.d. jensen" <email@hidden>)
 >Re: Cocoa window initially hidden in IB? (From: j o a r <email@hidden>)
 >Re: Cocoa window initially hidden in IB? (From: "a.d. jensen" <email@hidden>)
 >Re: Cocoa window initially hidden in IB? (From: j o a r <email@hidden>)

  • Prev by Date: Complex Source List & Selection
  • Next by Date: Re: Deployment build from Tiger not running on Panther
  • Previous by thread: Re: Cocoa window initially hidden in IB?
  • Next by thread: Re: Cocoa window initially hidden in IB?
  • Index(es):
    • Date
    • Thread