Jump to content

bladem2003

Active Members
  • Posts

    64
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bladem2003's Achievements

  1. @pixelsearch thanks.
  2. strange... I have it on 3 computers and in a VM (win 10 and 11). AutoIt Version: 3.3.16.1 Windows_11_x64_2024-12-24 09-37-33.mkv
  3. If I create a GUI with $WS_EX_NOACTIVATE and i minimize the GUI a window appears above the taskbar. Is there any way to prevent this? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example() Func Example() ; Create a GUI with various controls. Local $hGUI = GUICreate("Example", 400, 400, -1, -1, -1, $WS_EX_NOACTIVATE) ; Display the GUI. GUISetState(@SW_SHOW, $hGUI) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd ; Delete the previous GUI and all controls. GUIDelete($hGUI) EndFunc ;==>Example
  4. Hi, how can I get the value of $sDataToSend in _WM_COPYDATA? _WM_COPYDATA only returns the string in $vRet. I want to make a selection based on the lParam and return a value or string
  5. i found this on the german forum https://autoit.de/thread/84398-sortierung-wie-im-explorer-tree-wie-gehts/?pageNo=1
  6. can someone help me to change color of the selection?
  7. inspired by AutoIt Help v3.3.16.1 with external CSS loading v1 AutoItHelp.7z v2 add icons, search and open example AutoItHelp_v2.7z  
  8. My help file (and scite) looks different than yours. How can I change the menu to dark?
  9. Hi is the source code of this utility available?
  10. or this $string = "bob smith cima, phd, ma" $aStringSplit = StringSplit($string, " ") MsgBox(0,'', $aStringSplit[1] & " " & $aStringSplit[2])
  11. Hi, how can i set the mouse cursor when i over the input control back to standart? cursorid for input $MCID_IBEAM (5) #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> HotKeySet("{ESC}", "On_Exit") $hGUI = GUICreate("Y", 400, 150, -1, -1, $WS_POPUP) GUISetBkColor(0x414141) GUICtrlCreateInput("", 10, 10, 50, 25) GUISetState() GUIRegisterMsg(0x0084, "_WM_NCHITTEST") While 1 Sleep(10) WEnd Func _WM_NCHITTEST($hWnd, $uMsg, $wParam, $lParam) Local $iSide = 0, $iTopBot = 0, $CurSorInfo, $i_marginResize = 6 Local $aWinPos = WinGetPos($hWnd) Local $aCurInfo = GUIGetCursorInfo($hWnd) If Not @error Then If ($aCurInfo[4] > 0) Then Return ;Check if Mouse is over Border, Margin = 6 If $aCurInfo[0] < $i_marginResize Then $iSide = 1 If $aCurInfo[0] > $aWinPos[2] - $i_marginResize Then $iSide = 2 If $aCurInfo[1] < $i_marginResize Then $iTopBot = 3 If $aCurInfo[1] > $aWinPos[3] - $i_marginResize Then $iTopBot = 6 $CurSorInfo = $iSide + $iTopBot Else $CurSorInfo = 0 EndIf If Not (WinGetState($hWnd) = 47) Then If ($aCurInfo[4] = 0) Then Local $Return_HT = 2, $Set_Cursor = 2 Switch $CurSorInfo Case 1 $Set_Cursor = 13 $Return_HT = 10 Case 2 $Set_Cursor = 13 $Return_HT = 11 Case 3 $Set_Cursor = 11 $Return_HT = 12 Case 4 $Set_Cursor = 12 $Return_HT = 13 Case 5 $Set_Cursor = 10 $Return_HT = 14 Case 6 $Set_Cursor = 11 $Return_HT = 15 Case 7 $Set_Cursor = 10 $Return_HT = 16 Case 8 $Set_Cursor = 12 $Return_HT = 17 EndSwitch GUISetCursor($Set_Cursor, 1) If Not ($Return_HT = 2) Then Return $Return_HT EndIf EndIf Return 'GUI_RUNDEFMSG' EndFunc ;==>INTERNAL_WM_NCHITTEST Func On_Exit() Exit EndFunc ;==>On_Exit
  12. 👍 thanks for the solution.
  13. I embed an external application Into the child gui and move It a little bit outside the child gui to hide a part of the external application.
  14. Hi, I have a gui with a child gui, when I minimize the gui to tray and go with the mouse over the icon only the main gui is visible. Is there a way to see the Main and Child gui? #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> $hGUI = GUICreate("Test", 500, 500, -1, -1) GUISetState() ; Create child GUI $hChild = GUICreate("", 400, 200, 50, 150, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) GUISetBkColor(0xff0000, $hChild) GUICtrlCreateLabel("CHILD", 0, 0, 400, 220, BitOR($SS_CENTER, $SS_CENTERIMAGE)) GUICtrlSetFont(-1, 50) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit WEnd
×
×
  • Create New...