Jump to content

Controls created on another window


Cythor
 Share

Recommended Posts

Like:

#include <GUIConstantsEx.au3>
#include <GuiButton.au3>
#include <WindowsConstants.au3>

$btn = _GUICtrlButton_Create(WinGetHandle("Run"), "Button1", 10, 10, 90, 50)
msgbox(64, "", "Created button")
Sleep(3000)

You need to open the 'Run' dialog first, to check this example.

Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

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