On Apr 2, 2010, at 2:08 PM, Nick Zitzmann wrote:
>
> On Apr 2, 2010, at 2:19 PM, Jenny M wrote:
>
>> D'oh, you told me that before and I completely forgot. So I tried
>> that, but the page still appears blank. I don't want the page to be
>> visible so I didn't set makeKeyOrderFront.
FWIW, I'm
On Fri, Apr 2, 2010 at 2:08 PM, Nick Zitzmann wrote:
> There's one more thing. WebView loads requests asynchronously, so you need to
> block while it is loading the request and laying out the page while taking
> some time out to run the run loop. So do something like this:
>
AHA! Thank you, it
On Apr 2, 2010, at 2:19 PM, Jenny M wrote:
> D'oh, you told me that before and I completely forgot. So I tried
> that, but the page still appears blank. I don't want the page to be
> visible so I didn't set makeKeyOrderFront.
>
>
> NSRect frame = NSMakeRect(0.0, 0.0, pageSiz
On Fri, Apr 2, 2010 at 9:40 AM, Nick Zitzmann wrote:
> That's most likely Flash Player at work, since it's been known to do this. To
> work around it, install a dummy SIGINT handler function that does nothing.
> See the signal man page for details.
>
Yup, you're right. That was just something I
On Apr 1, 2010, at 8:17 PM, Jenny M wrote:
> Great, I'm testing that method now. I get everything built alright,
> but during the print operation (while the print panel is shown), the
> program crashes with the following message in the console:
>
> -
> Debugger() was called!
> Th
> Not an NSRect, but you can get an NSSize from [[NSPrintInfo sharedPrintInfo]
> paperSize]. From that, you can build an NSRect with that value for the size
> and NSZeroPoint for the origin.
>
Great, I'm testing that method now. I get everything built alright,
but during the print operation (whi
On Mar 30, 2010, at 11:53 PM, Jenny M wrote:
>>> Is it possible I could create it in a xib file and keep it invisible,
>>> and handle closing programmatically so it's not a waste of memory?
>>
>> Yes.
>
> Okay... how? I can uncheck "visible at launch," then how do I control
> the visibility and
Hi Nick...
On Sun, Mar 28, 2010 at 12:49 PM, Nick Zitzmann wrote:
>> Is it possible I could create it in a xib file and keep it invisible,
>> and handle closing programmatically so it's not a waste of memory?
>
> Yes.
>
Okay... how? I can uncheck "visible at launch," then how do I control
the vi
On Mar 28, 2010, at 12:44 PM, Jenny M wrote:
> Is it possible I could create it in a xib file and keep it invisible,
> and handle closing programmatically so it's not a waste of memory?
Yes.
> How
> would I go about this, or is there an easier way?
Subclassing NSView/WindowController, giving i
Hi all,
Going back a bit to my printing problem (http://groups.google.com/
group/cocoa-dev/browse_thread/thread/
cbf57025f0c2a7e0/99d39008358da90b), I'd like to call print on a
WebView which loads a locally-generated HTML file that is created
specially when my print function is called. So I'd like
10 matches
Mail list logo