Page 1 of 2
Windows 10+ look
Posted: Tue Sep 06, 2022 6:57 am
by marcoagpinto
Hello!
Could PureBasic be improved to support the Windows 10 look, such as checkboxes in blue and progress bars thin and also blue?
Thanks!
Re: Windows 10+ look
Posted: Tue Sep 06, 2022 8:05 am
by plouf
These gui are not native windows afaik
Thats why windows options from classic control panel
Still has the old one as any other app
Imho new gui framework must be implmented to this this
And most peobably you have to go to a hybrid "webgadget gui" that interact with rest of app
Something like this for example
viewtopic.php?t=74582
viewtopic.php?t=74711
Re: Windows 10+ look
Posted: Tue Sep 06, 2022 9:32 am
by BarryG
Firefox is using its own GUI design and widgets; it's not part of Windows. So you'd need to use the CanvasGadget() to copy it.
Re: Windows 10+ look
Posted: Tue Sep 06, 2022 11:31 am
by ChrisR
plouf wrote: Tue Sep 06, 2022 8:05 am
Imho new gui framework must be implmented to this this
And most peobably you have to go to a hybrid "webgadget gui" that interact with rest of app
Something like this for example
viewtopic.php?t=74582
viewtopic.php?t=74711
Thanks for the link to IceDesign

but I'm afraid it doesn't help, it uses native PB Gadget so on Windows, native win32 Controls.
And as you said, the interface is not a native interface
In addition to Firace
SWV: A simple HTML/JS desktop GUI engine for PB
Webview2 control - Chromium browser for Purebasic (Windows) seems really interesting to offer this kind of interface. It is cross palteform now, I believe.
With Fred's message on 1st page:
Finally a new native solution is coming ! Thanks for the wrapper, we will look into it once it gets live.
it gets live

It would be nice if it could be studied again to possibly offer a native PB solution. A good new challenge after the v6.0 and the C compiler.
Be able to incorporate web technologies into native PB applications, to build modern interfaces, would be so great

Re: Windows 10+ look
Posted: Tue Sep 06, 2022 11:32 am
by Little John
marcoagpinto wrote: Tue Sep 06, 2022 6:57 am
Could PureBasic be improved to support the Windows 10 look, such as checkboxes in blue and progress bars thin and also blue?
Blue checkboxes like on your picture
are supported already by PB (at least I see them here on Windows 11).
For a progress bar, you can set its size and color yourself.
Re: Windows 10+ look
Posted: Tue Sep 06, 2022 9:35 pm
by jacdelad
Maybe a framework for custom standard controls would be nice. Like the many controls contributed by thorsten, but an all in one package with a customizable look, which would be used for all of them. Then we could easily imitate any Windows look, or create an own one for PB applications.
Re: Windows 10+ look
Posted: Tue Sep 06, 2022 10:02 pm
by skywalk
Yes, the custom canvasgadget gui elements are very flexible and look great.
Hoping some cumulative gui lib could follow the footsteps of the opensource IDE.
Stargate's panel is in the IDE.
Maybe add more expressive & colorful grid or list to the variable and memory viewer?
Re: Windows 10+ look
Posted: Wed Sep 07, 2022 9:16 am
by Caronte3D
jacdelad wrote: Tue Sep 06, 2022 9:35 pm
Maybe a framework for custom standard controls would be nice. Like the many controls contributed by thorsten, but an all in one package with a customizable look, which would be used for all of them. Then we could easily imitate any Windows look, or create an own one for PB applications.
+10000
Re: Windows 10+ look
Posted: Wed Sep 07, 2022 6:37 pm
by jacdelad
Caronte3D wrote: Wed Sep 07, 2022 9:16 am
jacdelad wrote: Tue Sep 06, 2022 9:35 pm
Maybe a framework for custom standard controls would be nice. Like the many controls contributed by thorsten, but an all in one package with a customizable look, which would be used for all of them. Then we could easily imitate any Windows look, or create an own one for PB applications.
+10000
Yeah, I'd like to do it, but unfortunately I lack of time and am still busy switch the ribbon gadget (which is going well but needs a refactoring, the code is a mess). Also, for my work I have to start with C# in November...
But who knows...
Re: Windows 10+ look
Posted: Fri Sep 09, 2022 10:33 pm
by idle
jacdelad wrote: Wed Sep 07, 2022 6:37 pm
Also, for my work I have to start with C# in November...
But who knows...
No swearing

Re: Windows 10+ look
Posted: Fri Sep 09, 2022 11:12 pm
by jacdelad
idle wrote: Fri Sep 09, 2022 10:33 pm
No swearing
I'll try my best. Unfortunately I'm afraid that if I really start coding with C#, I'll completely switch to it and have to abandon PureBasic.
Re: Windows 10+ look
Posted: Sat Sep 10, 2022 1:01 am
by idle
jacdelad wrote: Fri Sep 09, 2022 11:12 pm
idle wrote: Fri Sep 09, 2022 10:33 pm
No swearing
I'll try my best. Unfortunately I'm afraid that if I really start coding with C#, I'll completely switch to it and have to abandon PureBasic.
Hope you don't, to many people do abandon it, but maybe it will just turn you into a code

(ninja)
Re: Windows 10+ look
Posted: Sat Sep 10, 2022 1:18 am
by jacdelad
idle wrote: Sat Sep 10, 2022 1:01 am
Hope you don't, to many people do abandon it, but maybe it will just turn you into a code

(ninja)
Thanks, maybe. I don't want to get too offtopic. I always feel like my skills aren't the best, though I think it's good enough to move some things. I code small tools for the company I work for (though I'm not (yet) installed as a programmer, these projects are sidejobs) and I recently got an e-mail with a thankyou, because one of my tools saved my company roughly 600.000€ and hundred of hours of manpower. So yeah, maybe I'm on a good way.
Unfortunately I always learn what I need at the moment of coding. Starting with C# brings complete new preconditions, quality standards and responsibilities. I'm a bit afraid...
Re: Windows 10+ look
Posted: Sat Sep 10, 2022 1:27 am
by skywalk
Just be sure to master the version control software(git,fossil,mercurial) used at your work. Then no harm.
Ask for syntax rules and coding standards and this will make your code easy to follow and insert and debug.
Re: Windows 10+ look
Posted: Sat Sep 10, 2022 3:05 am
by jacdelad
skywalk wrote: Sat Sep 10, 2022 1:27 am
Just be sure to master the version control software(git,fossil,mercurial) used at your work. Then no harm.
Ask for syntax rules and coding standards and this will make your code easy to follow and insert and debug.
I'll do!
