Re: ToolTips


Subject: Re: ToolTips
From: James Montgomerie (jamie@montgomerie.net)
Date: Mon Sep 17 2001 - 09:14:16 CDT


Sorry - I probably should have said 'concerned with it' rather than 'alarmed
by it'.

The class is only there to provide functionality not provided by the BeOS
APIs that is provided by the APIs of other OSes. It's used in
ev_BeOSToolbar.cpp to provide tooltips on the BeOS toolbars. By contrast,
the code for other OSes uses the OS's API to do this (i.e. in
ev_Win32Toolbar.cpp), and doesn't need the equivalent of these files.

> I noticed that only on BeOS is there a ev_BeOSTooltip.h - the xp directory
> contains no generic header. Can any AP guru enlighten me about what must
> be done to allow abi to display tooltips?

If you mean across the whole app (i.e. In the edit area too), a new XP
tooltip framework will need to be made. On the BeOS side, presuming it were
to be done*, it could /use/ the TToolTip class defined in ev_BeOSTooltip.*
to display the tips on BeOS, and the standard platform APIs on other
platforms.

Jamie.

* i.e. presuming someone writes the BeOS code, not presuming you write the
framework.

On 17/9/01 9:47 am, "Matti Picus" <matti@picus.org> wrote:
>
> I'm not "alarmed" by the code, I want to make it generic (generify?) to all
> platforms and use it. Beos seems to have a full implementation of tooltip
> display. I am asking why it is tucked into the platform-specific Beos
> directory instead of being in the xp directory.
> Matti
>
> At 05:05 PM 16/9/2001 +0100, you wrote:
>> From memory of the BeOS code (which is not in front of me right now) this
>> (ev_BeOSTooltip.cpp,h - matti )is
>> library code to allow BeOS to /display/ tooltips (which there are no native
>> APIs for), not anything to do with the XP structure, so don't be too alarmed
>> by it.



This archive was generated by hypermail 2b25 : Mon Sep 17 2001 - 09:14:12 CDT