Sign in to follow this  
Followers 0
city

Parent and Child^^

3 posts in this topic

; example 2

#include <GUIConstants.au3>

$gui=GUICreate("Background", 800, 300)

; background picture

$background = GUICtrlCreatePic ("demo-bg.jpg", 0, 0, 800, 300)

GUISetState(@SW_SHOW)

; transparent child window

$pic=GUICreate("", 14, 80, 0, 0,$WS_POPUP,$WS_EX_LAYERED+$WS_EX_MDICHILD,$gui)

; transparent pic

$basti_stay = GUICtrlCreatePic ("l_st.gif", 0, 0, 14, 80)

GUISetState(@SW_SHOW)

do

$msg = GUIGetMsg()

until $msg = $GUI_EVENT_CLOSE

Question1 : According to example in autoit3 Help above, i cant found the child GUI since I open the script. How to I find the child GUI?

$var = Pixelsearch( )

Question2 : How do the Pixelsearch function search and get the color? For example my window screen is 800 x 600. Can you tell me what is its searching-flow?

Share this post


Link to post
Share on other sites



$var = PixelSearch(0, 0, 800, 600, 0x000000) ;0x000000 being your colour to search for.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

$var = PixelSearch(0, 0, 800, 600, 0x000000)
This example will search the who desktop for black.

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