Fabian Posted January 6, 2008 Share Posted January 6, 2008 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:If I type something it looks like this:And if I move the windowa a bit and type again a bit it looks like this: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 More sharing options...
BrettF Posted January 6, 2008 Share Posted January 6, 2008 _WinAPI_RedrawWindow($hWnd[, $tRect = 0[, $hRegion = 0[, $iFlags = 5]]])? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Fossil Rock Posted January 6, 2008 Share Posted January 6, 2008 where are you getting _WinAPI_SetParent ? Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
Zedna Posted January 6, 2008 Share Posted January 6, 2008 Look here boltc has working script for very similar behaviour. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
BrettF Posted January 6, 2008 Share Posted January 6, 2008 where are you getting _WinAPI_SetParent ?The helpfile in V3.2.10.0 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Fossil Rock Posted January 6, 2008 Share Posted January 6, 2008 The helpfile in V3.2.10.0Ok, thanks ... I'm still using 3.2.8.1. Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
Fabian Posted January 8, 2008 Author Share Posted January 8, 2008 _WinAPI_RedrawWindow only redraws the client area, not the menus and the border and if I define an update rect it does nothing. Can anybody help? embeded-mediaUDF ~~ Embed WMP, Quicktime and Flash in your Au3 appYABC ~~ Yet another Binary Clock 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