Sign in to follow this  
Followers 0
MvGulik

GDK window.

4 posts in this topic

#1 ·  Posted (edited)

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 ...
 

Share this post


Link to post
Share on other sites



I find a post who they are talking about GDK Window

but there is a little problem...Posted Image


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

Share this post


Link to post
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 ...
 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0