Ich bin zwar nur die nervende Hexe von Raupi, aber du kannst das Ladesymbol als Avi von mir bekommen.
Lg Martina
PS: Für alle die es brauchen können, die AVI wurde mit Movies 13 erstellt.
http://jansfreeware.com/movies13.exe
Ich bin zwar nur die nervende Hexe von Raupi, aber du kannst das Ladesymbol als Avi von mir bekommen.
Lg Martina
PS: Für alle die es brauchen können, die AVI wurde mit Movies 13 erstellt.
http://jansfreeware.com/movies13.exe
Jaaaa, danke Es klappt *gg* Und dann noch Transparent!! Klasse. Danke.
Hallo Zusammen,
ich muss hier nochmal nachfragen:
Ich habe das nun so eingebunden, wie ihr es gesagt habt, aber mir ist etwas aufgefallen.
Global $ani = GUICtrlCreateAvi($INI_Pfad & "load.avi", 0, 0, 0, 16, 16)
_GUICtrlStatusBar_EmbedControl($StatusBar, 0, GUICtrlGetHandle($ani),3)
Wenn ich es so anbinde, verschiebt sich das Symbol immer, wenn man die GUI minimiert oder das Programm so lange rechnet, dass die GUI kurz hängt und dann das Programm weiter macht und die GUI wieder frei gibt.
Die avi verschiebt sich quasi nach oben. Hat da jemand eine Idee, wie ich dieses Problem lösen kann?
Hallo AnnaM,
ich habe bei diesem Testskript:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; *** Start added by AutoIt3Wrapper ***
#include <WindowsConstants.au3>
; *** End added by AutoIt3Wrapper ***
#include <GuiConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <SendMessage.au3>
Opt('MustDeclareVars', 1)
[/autoit] [autoit][/autoit] [autoit]$Debug_SB = False ; Check ClassName being passed to functions, set to True and use a handle to another control to see it work
[/autoit] [autoit][/autoit] [autoit]_Main()
[/autoit] [autoit][/autoit] [autoit]Func _Main()
[/autoit] [autoit][/autoit] [autoit]Local $hGUI, $hAni, $hInput, $input, $ani, $hStatus, $msg
Local $aParts[4] = [80, 160, 300, -1]
; Create GUI
$hGUI = GUICreate("StatusBar Embed Control", 400, 300)
;===============================================================================
; defaults to 1 part, no text
$hStatus = _GUICtrlStatusBar_Create($hGUI)
_GUICtrlStatusBar_SetMinHeight($hStatus, 20)
;===============================================================================
GUISetState()
; Initialize parts
_GUICtrlStatusBar_SetParts($hStatus, $aParts)
_GUICtrlStatusBar_SetText($hStatus, "Part 1")
_GUICtrlStatusBar_SetText($hStatus, "Part 2", 1)
$input = GUICtrlCreateInput("This is Embeded", 0, 0, 100)
$hInput = GUICtrlGetHandle($input)
_GUICtrlStatusBar_EmbedControl($hStatus, 2, $hInput, 2)
; Embed a avi
$ani = GUICtrlCreateAvi("Load.AVI", 0, 0, 0, 16, 16)
$hAni = GUICtrlGetHandle($ani)
_GUICtrlStatusBar_EmbedControl($hStatus, 3, $hAni, 3)
GUICtrlSetState($ani, $GUI_AVISTART)
; Loop until user exits
While 1
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_RESTORE
_GUICtrlStatusBar_EmbedControl($hStatus, 3, $hAni, 3)
_GUICtrlStatusBar_EmbedControl($hStatus, 2, $hInput, 2)
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
GUIDelete()
EndFunc ;==>_Main
keine Probleme.
mfg autoBert
Hallo AutoBert,
super Idee mit dem $GUI_EVENT_RESTORE und dem Neusetzen des Wertes. Klappt prima. Dankeschöön
Hallo AutoBert,
könntest du mir sagen, mit welchem Tool du es damals konvertiert hattest? Ich bekomme den transparenten Hintergrund nicht hin.
Dies war der Beitrag; https://autoit.de/index.php?page…0952#post280952
Vielen Dank im Voraus,
Anna
Ich denke nicht, das autoBert dir antworten wird.
Der war seit April 2013 nicht mehr im Forum.
Weiß sonst jemand Rat und hat ein tolles Tool auf Lager?