Page 2 of 20
Re: Alternative GUI styles (please contribute)
Posted: 17 Feb 2014, 09:57
by hoppfrosch
A plain one:
It's a simple representation of a keyboard Numpad-block. The first row of the GUI represent 4 Tabs - the rows below represent the keypad. Therefore I do have 4*17 different buttons (17 on each tab).
I use this for my Window/Multimonitor-Management tool (WorkInProcess). The current tab you see is used for Window-Resizing. The functionality can be accessed via Button-click or via NumPad. It's invoked via doubleKeypress for example: #Numpad1-Numpad5 (#Numpad1 opens the GUI and selects Tab 1 - and Numpad5 the desired functionality)
Re: Alternative GUI styles (please contribute)
Posted: 17 Feb 2014, 10:06
by tmplinshi
Spoiler Code: Select all
Gui, Margin, 50, 20
Gui, Color, White
Gui, Add, Text, +E0x1 +E0x200 w300 h100 ; WS_EX_DLGMODALFRAME=0x1, WS_EX_CLIENTEDGE=0x200
Gui, Add, Text, xp+20 yp-10 w100 h30 +E0x1 +E0x200 0x201 cBlue, GroupBox 1
Gui, Add, GroupBox, xm w300 h50 0x300 0x8000 cFE6086, GroupBox 2
Gui, Add, GroupBox, xm w300 h50 cFE6086
Gui, Add, Progress, xp+20 yp-3 w100 h20 BackgroundGreen
Gui, Add, Text, xp wp hp 0x201 BackgroundTrans cYellow, GroupBox 3
Gui, Show
Return
GuiClose:
ExitApp
Re: Alternative GUI styles (please contribute)
Posted: 19 Feb 2014, 00:00
by hunter99
[quote="Guest10"]how can i bring this GUI
SMACK to the center of the screen (
always and by DEFAULT )?
Why not this:
Gui, Show, Center
Re: Alternative GUI styles (please contribute)
Posted: 19 Feb 2014, 04:40
by cyruz
tmplinshi wrote:
Spoiler Code: Select all
Gui, Margin, 50, 20
Gui, Color, White
Gui, Add, Text, +E0x1 +E0x200 w300 h100 ; WS_EX_DLGMODALFRAME=0x1, WS_EX_CLIENTEDGE=0x200
Gui, Add, Text, xp+20 yp-10 w100 h30 +E0x1 +E0x200 0x201 cBlue, GroupBox 1
Gui, Add, GroupBox, xm w300 h50 0x300 0x8000 cFE6086, GroupBox 2
Gui, Add, GroupBox, xm w300 h50 cFE6086
Gui, Add, Progress, xp+20 yp-3 w100 h20 BackgroundGreen
Gui, Add, Text, xp wp hp 0x201 BackgroundTrans cYellow, GroupBox 3
Gui, Show
Return
GuiClose:
ExitApp
Nice, I like the 2nd style. So the first technically is not a groupbox?
Re: Alternative GUI styles (please contribute)
Posted: 20 Feb 2014, 06:15
by cyruz
Thanks to
kon and
just me , I used their findings to improve my gui in a completely flat one with a fake caption:
Image:
Code:
Spoiler Code: Select all
Gui, -Caption +Border
Gui, Margin, 0, 10
Gui, Add, Progress, w520 h25 x0 y0 Background8F8F8F Disabled hwndHPROG
Control, ExStyle, -0x20000,, ahk_id %HPROG%
Gui, Font, s11 Bold
Gui, Add, Text, w520 h25 x0 y0 gGUIMOVE CFFFFFF BackgroundTrans Center 0x200, MHTMLSaver
Gui, Font
Gui, Add, Text, x10 y+15, URL to save in MHTML:
Gui, Add, Edit, w500 h17 x10 vEdit1 -E0x200 +Border
Gui, Add, Text, w500 y+10 vText1 C0000FF, URL will be saved in <%A_ScriptDir%\url.mht>
Gui, Add, Text, w250 y+15 vText2
Gui, Add, Button, w50 h20 x+35 +0x8000, Browse
Gui, Add, Button, w50 h20 x+5 +0x8000, Save
Gui, Add, Button, w50 h20 x+5 +0x8000, Reset
Gui, Add, Button, w50 h20 x+5 +0x8000, Close
Gui, Show, AutoSize, MHTMLSaver
Return
GUIMOVE:
PostMessage, 0xA1, 2
Return
;GUIMOVE
Beautiful Examples of GUIs
Posted: 02 Jul 2014, 05:29
by jNizM
Beautiful Examples of GUIs with AHK
Feel free to add more
Login Gui Example (Source)
(Win 7)
(Win 8.1)
Re: Beautiful Examples of GUIs
Posted: 02 Jul 2014, 06:23
by Blackholyman
Nice one
Here's one of Mine
Gui to toggle some things on/off (win7)
tutorial
http://jszapp.com/autohotkey/2014/make- ... ines-less/
Re: Beautiful Examples of GUIs
Posted: 02 Jul 2014, 08:17
by Coco
Work in progress:
Re: Beautiful Examples of GUIs
Posted: 02 Jul 2014, 11:54
by guest3456
heh.
Re: Beautiful Examples of GUIs
Posted: 02 Jul 2014, 17:08
by joedf
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 00:36
by jNizM
Elementary Theme (Source)
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 03:14
by joedf
Other than GDI+, I imagine using an ActiveX Webbrowser control and catching its events would be the optimal choice for designing GUIs....
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 04:45
by Coco
joedf wrote: Other than GDI+, I imagine using an ActiveX Webbrowser control and catching its events would be the optimal choice for designing GUIs....
Yes, you can do just about anything in terms of design... my example above is an ActiveX WebBroswer control...
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 05:16
by vasili111
I think that topic should include code of that Gui-s and should be moved to "Scripts and Functions"
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 05:40
by Learning one
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 08:30
by joedf
[topic moved]
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 10:44
by noname
mp3 player / playlist creator
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 12:27
by DataLife
Blackholyman wrote: Nice one
Here's one of Mine
Gui to toggle some things on/off (win7)
How did you make this? GDI+ ,ActiveX WebBroswer control...?
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 15:24
by Sidola
joedf wrote: Other than GDI+, I imagine using an ActiveX Webbrowser control and catching its events would be the optimal choice for designing GUIs....
This sounds awesome. Has anyone made a decent/up to date tutorial for how to make something like this?
The AHK installer uses this method, right? I remember trying to poke around it its code but found that a bit too complex for me.
Re: Beautiful Examples of GUIs
Posted: 03 Jul 2014, 20:04
by joedf
Sure! I'll try to post a tutorial/Example tonight