vb.net - Set screen location of external application child window? -
hi have programme monitor external application. able set screen location of application want kid windows of application open in same location.
her code usion set location of parent window.
public function openapplication() dim applicationprocess = system.diagnostics.process.start("c:\test.exe") applicationprocess.waitforinputidle() system.threading.thread.sleep(1000) dim applicationhandle = applicationprocess.mainwindowhandle setwindowpos(applicationhandle, 0, 0, 0, 803, 460, 0) applicationprocess.waitforinputidle() homecoming (false) end function
check out site. believe can accomplish want here. obtaining external window handles , window captions, much re-create here.
here link
vb.net visual-studio-2010 api
No comments:
Post a Comment