Jump to content

GDK window.


MvGulik
 Share

Recommended Posts

Can you do anything with a GDK window from within AutoIt ?

With "with" I of course mean direct (or relative direct) internal window-control manipulation.

I figure "Nothing" to "Not much" is on the menu. ... ?

Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Wat problem might that be. It readable. well kinda. "AutoIt has been resolved very well on gdkWindow can not control" ;)

:)

Not sure if that code there is of any use. But at least I got something to play with later.

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

When I saw The title "AutoIt has been resolved very well on gdkWindow can not control"

I thinked they had not found solution ! Posted Image

And i can't try it, witout gdk window...

#include <WinAPIEx.au3>
#include <WinAPI.au3>

Local $a,$HSEd1
$a = WinGetHandle ( "[CLASS:gdkWindowChild]" ) 
$HSEd1 = _WinAPI_GetDlgItem ( _SMain ( ), 1032 )
MsgBox ( 8192 + 64, "Window Handle", $HSEd1, 20 )

Func _SMain ( )
    Local $aWindows, $i, $text, $text1, $text2, $PHWnd
    $aWindows = _WinAPI_EnumChildWindowS ( $a, 0 )  ; find masked window
    For $i = 1 To UBound ( $aWindows ) - 1
        $text = $aWindows[$i][0]                    ; Window Handle
        $text1 = $aWindows[$i][1]                      ; Window Class
        $text2 = WinGetTitle ( $aWindows[$i][0] )      ; Window Title
        If $text <> "" And $text1 = "Static" And $text2 = "Control title" Then
            $PHWnd = _WinAPI_GetParent ( $text )
            Return $PHWnd                          ; Return to find order in the parent window handle
        EndIf
    Next
EndFunc ;==> _SMain ( )
Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...