realbasic-betas.mbox
[Top] [All Lists]

Re: Callback woes

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Callback woes
From: Mike Benonis <mbenonis_lists at mac dot com>
Date: Tue, 30 Sep 2003 16:48:47 -0400
on 9/30/03 1:42 PM, Brady Duga at duga at ljug dot com wrote:

> 
> On Sep 30, 2003, at 10:04 AM, Brady Duga wrote:
>> 
>> Well, that's what I thought, but it doesn't seem to be working.
>> However, you've given me enough hope to keep looking - I'll see what I
>> can uncover. Perhaps I messed something else up switching between
>> normal timers and idle timers.
> 
> OK, back on the callback high! Looks like the problem was
> NewEventLoopIdleTimerUPP is not in CarbonLib (but *is* available as an
> inline for non-carbon CFM - huh?). But, NewEventLoopTimerUPP *is*
> available and seems to work just fine for creating an idle timer UPP,
> even though they have different numbers of params. So, I now have an
> app that speaks "Begin Idle" after there is no user action for a bit,
> then says "Get back to work" every 10 seconds until I move the mouse or
> hit a key, when it speaks "About time, slacker". It's really very
> annoying :)

Could you post the code you used?  I will if I have to, but I'd rather not
have to dig through Apple's docs and figure out how to install and handle a
Carbon Event if someone else has done it already.

-Mike


 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>