-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
Thanks Melba!
-
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Sorry for the confusion, I was busy with coding P.S I just found out the search feature in the help file, Very helpful! -
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
No, I meant "next time will look in all section of help file" -
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
I meant "Sorry for the trouble, I will do it myself" -
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Sorry -
Hello, I am using this code: #include "StringSize.au3" StatusIndicator("Test" & @CRLF & "|", 15) Func StatusIndicator($sStatus, $sSize = 8.5, $hParent = 0) $aDimensions = _StringSize($sStatus, $sSize) $aDimensions[2] *= 1.05 ; Increase the width a tad $hGUI = GUICreate("", 50 + $aDimensions[2], 50 + $aDimensions[3], -1, -1, $WS_POPUP + $WS_BORDER + $DS_SETFOREGROUND, -1, $hParent) GUISetBkColor(0xFFFFFF) GUICtrlCreateLabel($sStatus, ((50 +$aDimensions[2]) - $aDimensions[2]) / 2, ((50 +$aDimensions[3]) - $aDimensions[3]) / 2, $aDimensions[2], $aDimensions[3], 0x01) GUICtrlSetFont(-1, $sSize) GUISetState() Return $hGUI EndFunc ; This function requires StringSize UDF!!! Get it from here: http://www.autoitscript.com/forum/topic/114034-stringsize-m23-new-version-16-aug-11/The result: Also, when I change the second string to "|Test": Why is this happening? Thanks in Advance, TD
-
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Well... I searched the GUI function reference section -
Purpose of @GUI_DragId & @GUI_DropId
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Wow, I forgot to look in the macro section... Sorry for the trouble, TD -
How can I use those 2 macros? I search the help file but I found nothing... Thanks in advance, TD
-
@Melba23 Great! Will be eagerly waiting, TD
-
@Melba23 Yes Melba, All the bugs are gone, TD
-
@Melba23 Will test
-
@Melba23 I click the notifications & it happens (mostly when I click the partially visible [margin?] notifications). Also the windows explorer minimizes sometimes (very rarely)
-
Your ToolBox is effected too
- 82 replies
-
- autobuilder
- guibuilder
-
(and 3 more)
Tagged with:
-
@Melba23 I have done the testing. The bug seems to be fixed but I found a new bug: <snip> Windows explorer's window is showing its menu (the same effect when you right click the [top] border of any window. TD
-
@Melba23 Will test & give you the results
-
Label's last word automatically shifting down
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
Thanks @Melba23 -
Hello, Please look at this code: #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include "StringSize.au3" For $i = 1 To 100 StatusIndicator("Really Loooooong Text", $i) Next Func StatusIndicator($sStatus, $sSize = 8.5, $hParent = 0) $aDimensions = _StringSize($sStatus, $sSize) $hGUI = GUICreate("", 50 + $aDimensions[2], 50 + $aDimensions[3], -1, -1, $WS_POPUP + $WS_BORDER, -1, $hParent) GUISetBkColor(0xFFFFFF) GUICtrlCreateLabel($sStatus, ((50 +$aDimensions[2]) - $aDimensions[2]) / 2, ((50 +$aDimensions[3]) - $aDimensions[3]) / 2, $aDimensions[2], $aDimensions[3], 0x01) GUICtrlSetFont(-1, $sSize) GUISetState() Sleep(250) EndFuncResult: (Fast Forwarded by 250 %) As you can see, the last word ("Text") is automatically shifting down, How can I prevent this? Thanks in Advance, TD
-
Thanks!
-
Hello, I am currently using this code: Func StatusIndicator($sStatus, $sSize = 8.5, $hParent = 0) ; Function for my program, feel free to use it $aDimensions = _StringSize($sStatus, $sSize) $hGUI = GUICreate("", 50 + $aDimensions[2], 50 + $aDimensions[3], -1, -1, $WS_POPUP, -1, $hParent) GUISetBkColor(0xFFFFFF) $hLabel = GUICtrlCreateLabel($sStatus, (50 + $aDimensions[2]) / 2, (50 + $aDimensions[3]) / 2, $aDimensions[2], $aDimensions[3]) GUISetState() While 1 WEnd EndFuncI cant get $hLabel centered in the GUI, I don't know what's wrong Thanks in advance, TD
-
Help with including a script
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
I got it now -
Help with including a script
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Thanks Melba I got confused with this: