Powerbasic Museum 2020-B

General Category => General Discussion => Topic started by: Carlo Pagani on February 05, 2015, 01:22:02 PM

Title: Add on controls for C++ (non dot net)
Post by: Carlo Pagani on February 05, 2015, 01:22:02 PM
Why are all vendors who produce nice UI all focused on C#? Where does one find good graphing tools or native UI controls for C or C++?
Title: Re: Add on controls for C++ (non dot net)
Post by: Frederick J. Harris on February 05, 2015, 06:42:57 PM
Don't know Carlo.  I do remember way back in my VB4-6 life (1996-2000) (pre- .NET) there were ActiveX Controls that came with the Professional and Enterprise Editions that did graphs and such.  If they aren't too old fashioned I'm sure they could be made to work in C or C++.  I'd even be glad to help.  But since I don't do that kind of work anymore, I haven't used them for a long time.   
Title: Re: Add on controls for C++ (non dot net)
Post by: Patrice Terrier on February 05, 2015, 06:55:34 PM
Carlo--

There is a 64-bit version of GDImage written in C++.
It works just the same than the PB's version.

And there is also the WinLIFT 64-bit version.

When mixed together you can produce professional UI like that:

(http://forum.flyworship.co.uk/forum/public/Images/settings.png)

However the GUI conception is very different of what you are accustomed to, because all controls are indeed graphic components working in composited mode (like in Photoshop).

The whole GUI is fully customizable: image background, graphic components, text, skin theme.
Each one in a distinct transparent layer (using png images with variable opacity).

You can even produce state of the art 3D chart like this one:
http://www.jose.it-berater.org/smfforum/index.php?topic=4869.msg20027#msg20027

...
Title: Re: Add on controls for C++ (non dot net)
Post by: Carlo Pagani on February 06, 2015, 05:31:39 AM
Patrice I'm always in awe with your utilities, however my applications are financially orientated and I would simply like to provide an array to a chart tool to graph in a desired way with minimal effort. A more modern UI would benefit too but it seems 90% the control vendors have moved to .Net. Some have COM products but those look like legacy products that have just been left on the product list.
Title: Re: Add on controls for C++ (non dot net)
Post by: Patrice Terrier on February 06, 2015, 09:26:29 AM
QuoteI would simply like to provide an array to a chart tool to graph in a desired way with minimal effort.
Then i would suggest WinDev, because it works very well with DLLs written in PB.

And they have built-in DirectX 3D graph functions like these:
http://help.windev.com/en-US/?3042060&product=WM

Examples:

(http://www.windev.es/windev/broch9/image/graph3d.jpg)

(http://www.windev.com/windev/img/captures18/originaux/a-surface-chart-included-in-a-window.jpg)

...