Jump to content

Simple Child window trouble


Recommended Posts

I did this action before but now this little script :( troubles me and I just can't get it working - can anyone tell me what's wrong, I just can't see the spot...

#include <GUIConstants.au3>

$Main = GUICreate("Main",600,400,-1,-1,$WS_OVERLAPPEDWINDOW)

GUISetState()

$Child = GUICreate("Child",300,200,20,60,BitOR($WS_CHILD,$DS_SETFOREGROUND),"",$Main)

GUICtrlCreateButton ('Test Control', 3,100, 90,18)

GUISetState()

While 1

$msg = GUIGetMsg()

Select

Case $msg = -3

ExitLoop

EndSelect

WEnd

Why no visual docking child window in this script please...

Kj :(

Edited by kjactive
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...