Cythor Posted October 25, 2012 Share Posted October 25, 2012 First: My english is not good. Sorry I have a Question: Is it possible a control on another window to created? When yes -> How does it work? Cythor Link to comment Share on other sites More sharing options...
stormbreaker Posted October 25, 2012 Share Posted October 25, 2012 (edited) 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 October 25, 2012 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 More sharing options...
Cythor Posted October 25, 2012 Author Share Posted October 25, 2012 Ah, okey Thank you ^^ Link to comment Share on other sites More sharing options...
Cythor Posted October 25, 2012 Author Share Posted October 25, 2012 I have a new question: I want to create a graphic control to another window. But I can not find this function. GUICtrlCreateGraphic() I need this for an own created button. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now