AutoHotkey Community

It is currently May 25th, 2012, 5:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: GUI Question
PostPosted: May 22nd, 2007, 6:47 pm 
Offline

Joined: November 26th, 2006, 8:10 pm
Posts: 77
help, please show me a gui with a fat border and gui padding? can padding be done? thank you!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: GUI Question
PostPosted: May 22nd, 2007, 6:54 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
AngieX wrote:
help, please show me a gui with a fat border


Fat border :?: :roll:

Code:
Gui, Margin, 20, 20 ; Padding ?
Gui, Font, s48 Bold, Verdana
Gui,Add,Text, , AngieX
Gui, Show,, Test GUI
Return

GuiClose:
 ExitApp


:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 7:01 pm 
Offline

Joined: November 26th, 2006, 8:10 pm
Posts: 77
I was shocked to the AngieX so big in the GUI!
so, this is *almost*, the padding you have seems to push the interior of the generated GUI (when using Margin), What I am hoping to tweak, are the visual elements "outside" / the actual generally blue thin border of the GUI. Other than turning off the border, can it be pumped out/tweaked other than turning it off? Is this is a dead end to do anything other than turning it off? AHK seems to always have new ways of doing things. Can some Skan Magic Process draw borders around the outside of the GUI? Nothing seems impossible!! :-)
8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 7:15 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
AngieX wrote:
What I am hoping to tweak, are the visual elements "outside" / the actual generally blue thin border of the GUI. Other than turning off the border, can it be pumped out/tweaked other than turning it off?


My best guess is that it can only be done with global effect, that is, applied to all Windows.
On a related note, you can retrieve the border color with my GetSysColor()

:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 7:30 pm 
Offline

Joined: November 26th, 2006, 8:10 pm
Posts: 77
Very cool, thank you Skan! I was afraid it would be something like that, but it is curious to see things working/process. BEST, ANGIEX


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 7:32 pm 
Offline

Joined: November 26th, 2006, 8:10 pm
Posts: 77
ooh ooh one more thing, this has boggled my mind. to draw a gui with no border, so just a white block sits there (unpopulated) GUI.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 7:39 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Code:
Gui -Caption +Border ; Remove +Border if you do not want it
Gui, Margin, 0, 0
Gui, Add, Text, w200 h125 +0x201 GuiMove ; , AngieX
Gui, Show, x10 y10
Return

UiMove:
PostMessage, 0xA1, 2,,, A
Return


:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2007, 8:24 pm 
Offline

Joined: November 26th, 2006, 8:10 pm
Posts: 77
Thank you Skan! That is what I needed :P :P


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Alpha Bravo, Apollo, Cerberus, Google [Bot], Google Feedfetcher, Leef_me and 62 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group