Windows 10+ look

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
marcoagpinto
Addict
Addict
Posts: 1045
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Windows 10+ look

Post 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?
Image

Thanks!
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: Windows 10+ look

Post 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
Christos
BarryG
Addict
Addict
Posts: 4135
Joined: Thu Apr 18, 2019 8:17 am

Re: Windows 10+ look

Post 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.
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Windows 10+ look

Post 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 :wink: 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 8)
Last edited by ChrisR on Tue Sep 06, 2022 11:32 am, edited 1 time in total.
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Windows 10+ look

Post 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.
User avatar
jacdelad
Addict
Addict
Posts: 1993
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Windows 10+ look

Post 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.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Windows 10+ look

Post 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. :idea:
Stargate's panel is in the IDE.
Maybe add more expressive & colorful grid or list to the variable and memory viewer?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Windows 10+ look

Post 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
User avatar
jacdelad
Addict
Addict
Posts: 1993
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Windows 10+ look

Post 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...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
idle
Always Here
Always Here
Posts: 5840
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Windows 10+ look

Post 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 :lol:
User avatar
jacdelad
Addict
Addict
Posts: 1993
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Windows 10+ look

Post by jacdelad »

idle wrote: Fri Sep 09, 2022 10:33 pm No swearing :lol:
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.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
idle
Always Here
Always Here
Posts: 5840
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Windows 10+ look

Post by idle »

jacdelad wrote: Fri Sep 09, 2022 11:12 pm
idle wrote: Fri Sep 09, 2022 10:33 pm No swearing :lol:
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)
User avatar
jacdelad
Addict
Addict
Posts: 1993
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Windows 10+ look

Post 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...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Windows 10+ look

Post 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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
jacdelad
Addict
Addict
Posts: 1993
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Windows 10+ look

Post 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! :?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply