TheSaint Posted 15 hours ago Posted 15 hours ago (edited) 13 hours ago, joseLB said: Besides Koda, there is today a GUI builder that is functional? One with more modern controls? To this day, I still code my GUIs using GUIBuilder, if I need to. It's so quick and efficient ... and blessedly small when it comes to screen real estate. But really, I hard code my GUIs mostly by ear/eye/mind/memory/example. Example, is probably the most common method for me, I just borrow the basic code from some other program of mine I've worked on recently ... so basically copy & paste & edit. None of that is helpful of course if you want all the bells and whistles and something ultra modern, but it certainly serves me well, and I always opt for practical over pretty. Edited 15 hours ago by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
joseLB Posted 25 minutes ago Posted 25 minutes ago Thanks for replies. Just as an example, I was wondering something like visual tanks of water or batteries filling when AU3 receivers data from a pic thru serial for and fields that are used today instead the windows controls (I like them, but users always ask for more modern controls).
argumentum Posted 10 minutes ago Posted 10 minutes ago (edited) 21 minutes ago, joseLB said: I was wondering something like visual tanks of water or batteries take a look at https://www.autoitscript.com/forum/topic/213479-autoit-help-v33180-dark/ . Maybe an HTML can show anything you'd like to show. Just make your app a TCP back and forth via AJAX API/IPC 🤔 If you make one share it here ..or use GDI+ and make your own graphics ? Spoiler #include <GDIPlus.au3> #include <GUIConstantsEx.au3> Example() Func Example() _GDIPlus_Startup() ;initialize GDI+ Local Const $iWidth = 600, $iHeight = 600, $iBgColor = 0x303030 ;$iBGColor format RRGGBB Local $hGUI = GUICreate("GDI+ Example (" & @ScriptName & ")", $iWidth, $iHeight) ;create a test GUI GUISetBkColor($iBgColor, $hGUI) ;set GUI background color GUISetState(@SW_SHOW) Local $hGraphics = _GDIPlus_GraphicsCreateFromHWND($hGUI) ;create a graphics object from a window handle _GDIPlus_GraphicsSetSmoothingMode($hGraphics, $GDIP_SMOOTHINGMODE_HIGHQUALITY) ;sets the graphics object rendering quality (antialiasing) Local $hPen = _GDIPlus_PenCreate(0xFFA08080, 2) ;color format AARRGGBB (hex) _GDIPlus_GraphicsDrawPie($hGraphics, 100.5, 0.5, 400.75, 400.125, 45, 90, $hPen) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE ;cleanup GDI+ resources _GDIPlus_PenDispose($hPen) _GDIPlus_GraphicsDispose($hGraphics) _GDIPlus_Shutdown() GUIDelete($hGUI) EndFunc ;==>Example Edited 4 minutes ago by argumentum more ideas Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now