Jump to content

Recommended Posts

Posted
  On 5/8/2014 at 5:50 PM, UEZ said:

Somehow parts of your code look familiar to me....

 

Br,

UEZ ;)

 

So it was you who posted the metro buttons function somewhere in the forum !  Thanks, they look really amazing if added in the right place and customized to match the gui, they make autoit look a little more "up to date" :) 

Posted

Think switch block in main while loop can be easily shortened.

Switch $nMsg
    Case $GUI_EVENT_CLOSE, $ExitButton
        _WinAPI_DeleteObject($aExitButton[0])
        _WinAPI_DeleteObject($aExitButton[1])
        _WinAPI_DeleteObject($aMinimizeButton[0])
        _WinAPI_DeleteObject($aMinimizeButton[1])
        _WinAPI_DeleteObject($aButton2[0])
        _WinAPI_DeleteObject($aButton2[1])
        _WinAPI_DeleteObject($aButton1[0])
        _WinAPI_DeleteObject($aButton1[1])
        _GDIPlus_Shutdown()
        Exit
    Case $MinimizeButton
        GUISetState(@SW_MINIMIZE, $Form1)

    Case $Button1
        MsgBox(64, "", "Button 1")
    Case $Button2
        MsgBox(64, "", "Button 2")
EndSwitch

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted
  On 5/9/2014 at 5:09 PM, Valuater said:

I would suggest removing "Global" from a loop

While 1     
#Region Metro Style GUI-Control
    
Global $aMouseInfo, $bShow = False, $bHide = False

8)

 

In this case I can suggest you the same with #Region 

#Region Metro Style GUI-Control 
While 1

how i can guess by name of the region

it includes the entire loop :    While ..... Wend

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 4 months later...
Posted

Neat design! Great work BBs19  :thumbsup:

Heroes, there is no such thing

  Reveal hidden contents

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

  • 4 months later...
Posted

*Update 20.02.2015*

 

I updated the old "MetroStyle GUI" script and created a small UDF. CPU usage has been reduced and the script is now very easy to work with :)

Also added many themes (inspired by Android material colors).

Posted

Thanks for sharing.

P.S. I would suggest, that you resize ALL your screenshots to 75% maybe, as they are too big for my Netbook screen (when clicked), and don't need to be so large really.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

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)

userbar.png

  • 6 months later...
  • 2 weeks later...
Posted (edited)
  On 9/19/2015 at 9:14 AM, MyUM said:

Thank's

where is the " Textbox , radio button , Progressbar , checkbox and etc " with metro theme ?

:)

See first post, i have updated the UDF. There are also checkboxes now, For Edit and Inputbox you can just you "0" as exstyle, and it will match the GUI better and look modern, no need for extra function :) Radio buttons shouldn't be too hard, but i had no time to read tutorials for GDI Plus, so for now no Radio buttons or progressbar.

Edited by BBs19
  • 3 weeks later...
Posted

Updated UDF to Version 3.0:

  • UDF has been completely rewritten. Version 3.0 will make the usage as easy as never before.
  • Borderless and resizable GUIs with new control buttons (Close,Maximize/Restore,Minimize) in Windows 10 style
  • New and updated color schemes/themes. 
  • 2 type of Windows 8/10 style buttons with different hover effects.
  • Metro style checkboxes, radios, toggles and progressbar.
  • All buttons, checkboxes etc. have now hover effects!

See first post for more details and new pictures.

Posted

Very cool.

Can you provide example with Edit ?

 

btw.
please post it here:
https://www.autoitscript.com/forum/files/category/11-gui-additions/

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

When running the example, no text shows on the buttons. Changing theme/text color does nothing; neither does running in Beta (although beta-run makes buttons fit into the GUI better)

 

Am I missing something?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...