GDI+ Gauges custom control
#1
I have two compiled tests to run, one is SDK style and the other is DDT. This is for the Aqua Gauge C# translation, it's not a direct translation but modeled and written in PBWIN10.  I'm hoping a few fellow PB'ers can try it out on your machines and let me know if you have any visual scaling issues, also let me know your Screen settings. Once I have this control finally worked out, I'll spit-shine, polish and post the code.  Many thanks! 

Nov. 8th, 2026 the binary removed to be safe. While I clean my infected computer. Check later on pbusers.org for my source code posting in the near future. (sorry!)


Attached Files Thumbnail(s)
   
Reply
#2
Looks really good and smooth action , Jules. Windows 10, 1920x1080 resolution and 150% scaling.
Reply
#3
Thank you for testing & the report Börje!
Reply
#4
Very nice!

I think the zips are labeled incorrectly. The SDK version looks more like a legacy dialog than an sdk window.

What graphics mode are you using, metric, or isotropic?
Are the gauges and indicators bitmaps?

Windows 10 pro, 800 X 600; 20 year old machine with no hardware updates in last 10 years.
Reply
#5
Thank you for testing & reporting Walt!

I don't see any difference between the two when I put them side by side. Do you have a screen shot you can post?

This gauge control doesn’t use any images, it's all created in code and it doesn't use a mapping mode. It draws with GDI+ in plain pixels on a memory bitmap left in the default %MM_TEXT mode but the way it scales works like isotropic, so it scales evenly in both directions and stays round in a non-square control which is exactly the isotropic behavior. The scaling is done in the code instead of by Windows.   After I get a few testers replies, I'll clean it all up and post the code as promised.
Reply
#6
Topic discussion moved to pbusers.org forum
Reply
#7
My browser ( Chrome ) won't let me download it.
Windows 11 says a virus was detected.
Reply
#8
(03.11.2026, 13:34)Kurt Kuzba Wrote: My browser ( Chrome ) won't let me download it.
Windows 11 says a virus was detected.

Hey Kurt, thanks for your interest. Sorry about that, Walt reposted at the beginning of this thread on pbusers.org  The browser should allow you to download it, but your virus scanner may block it when you try to unzip it.  I use a testing folder in my exclusion list that allows me to unzip and run it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)