Cross platform tooltips

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Cross platform tooltips

Post by IdeasVacuum »

Not sure about Mac OS/Linux, but Windows ToolTips are ancient, ugly and inflexible.

What would be nice is something like: http://qtip2.com/demos

Being able to control basic attributes such as font, colour, size/shape and pointer position.
Decent anti-aliasing too (The windows Balloon Tips look like retro Win3.1)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Cross platform tooltips

Post by Mistrel »

That's bordering Java Swing territory. Imo, keep platform UI elements native.
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Cross platform tooltips

Post by DarkDragon »

The problem with alien widgets is always the accessibility. If the accessibility interfaces are not properly handled, you can throw it away.
bye,
Daniel
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Cross platform tooltips

Post by Mistrel »

DarkDragon wrote:.. alien widgets
I'm going to have to remember that one.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Cross platform tooltips

Post by IdeasVacuum »

I'm not requesting an alien lib - native PB tooltips is the idea, but not based on the underlying OS API tooltips.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: Cross platform tooltips

Post by nco2k »

IdeasVacuum wrote:not based on the underlying OS API tooltips.
so alien widgets.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Cross platform tooltips

Post by DarkDragon »

However I understand the problem and I would like to have some cross platform transparent window feature. This way you could realize it yourself.
bye,
Daniel
User avatar
minimy
Enthusiast
Enthusiast
Posts: 560
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Cross platform tooltips

Post by minimy »

I think you can this programming, try with canvas, movie and webgadgets, etc.
Is not easy but is possible.
or not? :mrgreen:
If translation=Error: reply="Sorry, Im Spanish": Endif
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Cross platform tooltips

Post by DarkDragon »

minimy wrote:I think you can this programming, try with canvas, movie and webgadgets, etc.
Is not easy but is possible.
or not? :mrgreen:
No its not possible simply with canvasgadget, because it can't be used as transparent window.
bye,
Daniel
Post Reply