Jump to content

_WinAPI_SetParent


Fabian
 Share

Recommended Posts

I want to use an app (eg. notepad) in my form (as child). If I use _WinAPI_SetParent and I start the app it looks like this:

Posted Image

If I type something it looks like this:

Posted Image

And if I move the windowa a bit and type again a bit it looks like this:

Posted Image

What can I do that it looks like the third pic from the beginning?

Here's my code:

$Form1 = GUICreate("Form1", 1000, 650, 0, 0)
GUISetState(@SW_SHOW)
Run("notepad.exe")
WinWait("[CLASS:Notepad]")
$Notepad = WinGetHandle("[CLASS:Notepad]")
_WinAPI_SetParent($Notepad, $Form1)
embeded-mediaUDF ~~ Embed WMP, Quicktime and Flash in your Au3 appYABC ~~ Yet another Binary Clock
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...