Jump to content

jpm

Developers
  • Posts

    10,425
  • Joined

  • Last visited

  • Days Won

    11

jpm last won the day on July 22 2024

jpm had the most liked content!

3 Followers

About jpm

  • Birthday 04/04/1946

Profile Information

  • Member Title
    a Real GUI/debug lover
  • Location
    Hauts de Seine, France

Recent Profile Visitors

4,763 profile views

jpm's Achievements

  1. I understand you want an update of the UDFS part in Sync with SVN So I will work on a autoitudfs-v3.3.19.0-alpha1.zip delivery which can be installed for Include and Examples delivery also the corresponding Autoit.chm in installation AutoIt3 dir you want I will upload it in an Autoit\Aplha dir similar to the Beta one Like that I will be the @Jon deliverer of the alpha update in sync with SVN
  2. It was created by Gary in 2008 So I will update with #include <MsgBoxConstants.au3> #include <WinAPISysWin.au3> Example() Func Example() GUICreate("test") Local $idLabel = GUICtrlCreateLabel("label", 0, 0) Local $hLabel = GuiCtrlGetHandle($idLabel) MsgBox($MB_SYSTEMMODAL, "Parent", "Get Parent Ancestor of " & $hLabel & ": " & _WinAPI_GetAncestor($hLabel, $GA_PARENT)) MsgBox($MB_SYSTEMMODAL, "Root", "Get Root Ancestor of " & $hLabel & ": " & _WinAPI_GetAncestor($hLabel, $GA_ROOT)) MsgBox($MB_SYSTEMMODAL, "Root Owner", "Get Root Owner Ancestor of " & $hLabel & ": " & _WinAPI_GetAncestor($hLabel, $GA_ROOTOWNER)) EndFunc ;==>Example
  3. @argumentum the intent is really to have ControlGetPos returning info about the parent window THat what the proposal I will send to Jon Cheers
  4. Hi, it is what I intend to update the doc using parent window
  5. nothing better phrasing but what do you thing about parent windows? Cheers
  6. I understand the point but I thing That it is a bug so I found the same solution inside ControlGetPos() so I propose the following doc
  7. I agree ControlGetPos must return different coord according to corresponding the guicreate I will look at it Anyway Happy new year
  8. @pixelsearch about 2 I agree to update the doc at least it is coherent with the usage in MoveMove() #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Local $hWndParent = GUICreate("ControlGetPos in a child GUI") Local $idInfo = GUICtrlCreateLabel("", 20, 150, 300, 100) Local $hWndChild = GUICreate("Child", 100, 100, 5, 5, BitOR($WS_BORDER, $WS_CHILD, $WS_VISIBLE), -1, $hWndParent) Local $idBtn = GUICtrlCreateButton("BTN", 10, 10, 60, 40) Local $aPOS = ControlGetPos($hWndChild, '', $idBtn) Local $sText = "BTN in Child Window" & @CRLF & @CRLF & " relative to parent window" & @CRLF & "Position: " & $aPos[0] & ", " & $aPos[1] & @CRLF & "Size: " & $aPos[2] & ", " & $aPos[3] GUICtrlSetData($idInfo, $sText) GUISetState(@SW_SHOW, $hWndParent) ControlClick($hWndChild, "", $idBtn, "left", 1, $aPOS[0], $aPOS[1]) Opt("MouseCoordMode", 2) ; coord in client area MouseMove($aPOS[0], $aPOS[1]) While 1 Switch (GUIGetMsg()) Case $idBtn GUICtrlSetData($idInfo, $sText & @CRLF & @CRLF & " >>>>>>>>> BTN clicked <<<<<<<<<<<<<<<") Case $GUI_EVENT_CLOSE Exit EndSwitch Sleep(10) WEnd
  9. Thanks @pixelsearch best wishes to you and your family I will add a 2nd example as you proposed for the escape doc I wait the final answer Cheers
  10. You could be rigth but I don't want to develop the corresponding StringReplace equivalent to the StringRegExpReplace example If you have one just postit
  11. It is refering to StrungRegExpReplace() example. I update the doc
  12. I found in my old testing on the subject I hope it is usefullGUIDarkMode-Jpm.zip t
  13. Thanks Just wondering why the header of the listview does not show in white?
  14. Hi I don't get the same result Can you post the GUIDarkMode.au3 you are using for DarkMode_DarkTheme Thanks
  15. I was before retiring in Basic software development as Windows Core So I can tell you that the solution comes with generating an assembly code based on a run time implementing the AutoIt builtin functions That need to defined something as as C compiler, that's a tremending job at least for me Today Autoit is based on a interpreting byte code corresponding to AutoIt builtin functions which is not too bad from my point of view Cheers
×
×
  • Create New...