[futurebasic] RE: [FB] Carbon Problems

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2002 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <Waverly.Edwards@...>
Date: Mon, 5 Aug 2002 10:43:48 -0400
<<
Boy I thought it would be easy to hijack an event and change it to a key
down event or append a dummy event to the event queue, but it seems a bit
more difficult than my simplistic ideas .
>>

I dont know if its supported in carbon but you
have postevent and ppostevent that allows you
to post events into the queue.  I believe
ppostevent allows you to replace events although
I never figured out how to do that.


W.

-----Original Message-----
From: Craig Hoyt [mailto:aztech4mac@...]
Sent: Friday, August 02, 2002 6:45 PM
To: futurebasic@...
Subject: [FB] Carbon Problems


Thanks for the feedback all,

Button issue:
Staz said...
>you don't get to produce a framed button in carbon. not really. in x, the
>default button pulsates. that's a whole different animal.
RP said...
>Thus one solution might be for you to switch to the Appearance runtime.

Since it is confirmed that this issue is not confined to my computer, I'm
thinking this is a bug. A carbon compile running in 9.x should behave the
same as a PPC compile. This does not. My project is a game and I have no
need to make it appearance compliant. I don't need to add another level of
complexity to an app just to view a single button as I would have expected
it to look. I would think a carbon (non appearance) compile running OSX the
button statement should also produce a pulsing button. Appearance or not
they should work as advertised. I may be a little picky here but logic
demands the behavior be consistent.

Screen saver issue:
Staz said...
>i gave up trying to beat the system years ago. perhaps you should find a
way
>to determine if the screen saver is in use and warn the operator that it
>needs to be turned off.

Jamin said...
>Here is some research for you to do.
>On your OSX box see if the gestalts "SAVR" or "SAVC"
>are registered.  These 2 gems were originally used by
>AfterDark, along with many other screen savers.
>
>One of them tells you if a screen saver is running/installed
>the other allows you to turn it off and on etc

Boy I thought it would be easy to hijack an event and change it to a key
down event or append a dummy event to the event queue, but it seems a bit
more difficult than my simplistic ideas . This has been an ongoing issue
for sever years now and I sure would like to find a permanent answer for
it. In the meantime I'll try Jamin's suggestion and play around with the
gestalt calls... didn't know you can write to the gestalt manager!?! There
is a lot of software out there that monitors idle time and activates when a
preset time has passed. Trying to catch them all is impossible.

Thanks for the suggestions and clarifications.

Craig
======================================================================
Aztech Professional On-Site Service

* Craig Hoyt
* Phone: 818-773-0864   Fax: 818-773-0675
* E-mail: craig@...
* Web: http://www.aztech4mac.com

Macintosh Technology Solutions Since 1984
=======================================================================

--
To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>