AutoHotkey Community

It is currently May 27th, 2012, 4:58 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: April 16th, 2010, 6:01 pm 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
I fixed things by using 2 gui's.

I.e 1 background gui, and another gui with transparent controls.


e.g place an "InfoBarv3.png" into a folder, and then run this script to see what I mean:



Code:

; for smart GUI editing, the path to the image has to be static, or a copy of the image must be in the smart gui folder.
;Gui, Add, Picture, x0 y0 w270 h750 , C:\Users\Leo\Desktop\x-mote3\other\WorkInProgress\Button Info Bar\InfoBarV2.2.png


gui 4:default

Gui, +LastFound +AlwaysOnTop +ToolWindow -Caption
Gui, Add, Picture, x0 y0, InfoBarV3.png


gui 5:default

InfoBarGuiColour = eFFFFFF

Gui, Color, %InfoBarGuiColour% ;Make the gui White



InfoBarTextBig = 13
Gui, +LastFound +AlwaysOnTop +ToolWindow -Caption  ; +ToolWindow avoids a taskbar button and an alt-tab menu item. ; -Caption
Gui, Font, s%InfoBarTextBig% cFFFFFE, Arial Bold  ;



Gui, Add, Text, x77 y18 w278 h20 +Center, y
Gui, Add, Text, x78 y69 w277 h19 +Center, b
Gui, Add, Text, x78 y119 w278 h20 +Center, x
Gui, Add, Text, x79 y178 w275 h20 +Center, a
Gui, Add, Text, x79 y222 w276 h20 +Center, rb
Gui, Add, Text, x79 y260 w276 h21 +Center, rt
Gui, Add, Text, x79 y316 w274 h21 +Center, lt
Gui, Add, Text, x79 y356 w273 h21 +Center, lb


Gui, Add, Text, x78 y404 w195 h20 +Center, Left
Gui, Add, Text, x157 y433 w198 h20 +Center, Right
Gui, Add, Text, x77 y477 w279 h20 +Center, up
Gui, Add, Text, x77 y506 w279 h21 +Center, down
Gui, Add, Text, x78 y539 w278 h19 +Center, start
Gui, Add, Text, x79 y567 w277 h19 +Center, select

InfoBarTextSmall = 11
Gui, Font, s%InfoBarTextSmall% cFFFFFE, Arial Bold  ;cFFFFFE



Gui, Add, Text, x174 y601 w84 h16 +Center, lup
Gui, Add, Text, x181 y626 w77 h14 +Center, lCenter
Gui, Add, Text, x271 y624 w84 h18 +Center, lright
Gui, Add, Text, x79 y625 w82 h17 +Center, Lleft
Gui, Add, Text, x175 y651 w82 h16 +Center, ldown
Gui, Add, Text, x174 y676 w84 h17 +Center, rup
Gui, Add, Text, x184 y703 w72 h15 +Center, rCenter
Gui, Add, Text, x271 y702 w85 h16 +Center, rRight
Gui, Add, Text, x77 y702 w84 h16 +Center, Rleft
Gui, Add, Text, x175 y726 w81 h15 +Center, rdown

WinSet, TransColor, %InfoBarGuiColour% ;make white transparent



Gui, 4:Show, x2 y60 h753 w380 NoActivate NA, Xmote Info Bar Background
Gui, 5:Show, x2 y60 h753 w380 NoActivate NA, Xmote Info Bar Labels
Return

GuiClose:
ExitApp

+q::
Reload
return

_________________
::
I Have Spoken
::


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2010, 1:52 am 
Offline

Joined: May 3rd, 2009, 6:37 pm
Posts: 67
Thanks for that. Would you please help me out I really don't know how to start.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 73 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