Search the Community
Showing results for tags 'guictrl'.
-
I'm trying to assign a faint text in the background to an input field that disappears after the input has started. This should have a certain color such as gray.
- 6 replies
-
- gui
- background
-
(and 3 more)
Tagged with:
-
How can i play with the always on top status of my windows plz ? I know the syntaxt but i cant get it working How to set it up ? Case $Check6 If GUICtrlRead($Check6) = $GUI_CHECKED Then $IniTop = IniWrite (""&$IniLocation , "Top" , "Top" , "True" ) GUICtrlSetStyle ( $hGui , BitOr($WS_MAXIMIZEBOX, $WS_MINIMIZEBOX, $WS_SIZEBOX), $WS_EX_TOPMOST) When the working code is : $hGui = GUICreate("Nombre de ticket" , 400 , 240 ,-1,-1, BitOr($WS_MAXIMIZEBOX, $WS_MINIMIZEBOX, $WS_SIZEBOX), $WS_EX_TOPMOST) Tryed GuiCtrlSetStyle GuiCtrlSetData GuiCtrlSetState
-
this is my example code I try to make to work, But i got no idea how to target a $child window when program already runs. $hlist = GUICtrlCreateList("Your momo | hihihiih",100,100,100,100) ; I want to this to appear on $guichild1 (or any child I specifically assign or target) #include <GUIConstantsEx.au3> ; Create parent $hGUI = GUICreate("Parent", 500, 500) $hButton_Child = GUICtrlCreateButton("Child", 10, 10, 80, 30) $hButton_Test = GUICtrlCreateButton("Test", 10, 50, 80, 30) $hButton_Test2 = GUICtrlCreateButton("Test2", 10, 90, 80, 30) GUISetState() ; Create child $hGUI_Child = GUICreate("Child", 400, 400) $hGUI_Child2 = GUICreate("Child2", 400, 400) GUISetState(@SW_HIDE) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $hButton_Test MsgBox(0, "Test", "You pressed the button!") $hlist = GUICtrlCreateList("Your momo | hihihiih",100,100,100,100) ;I want to let this appear on $hGUI_Child and able to delete it also properly Case $hButton_Child GUISetState(@SW_SHOW, $hGUI_Child) GUISetState(@SW_SHOW, $hGUI_Child2) Case $hButton_Test2 GUICtrlDelete($hlist ) EndSwitch WEnd I hope my question is clear and thx a lot!