Firstly: I am making a program that will, hopefully, insert a panel into a running instance of notepad. This is possible by the following scenario
MyControl.Parent = Control
now my dillema is that i can get the handle of a running instance of notepad... but that doesn't do me any good since this scenario raises a compiler error
MyControl.Parent = FindWindow(null, "Untitled - Notepad"); //FindWindow returns the handle
Anybody know the soloution?
Loading
YousefPosted Apr 14, 2007, 10:26 PM
http://www.mycsharpcorner.com/Post.aspx?postID=32
It describes how to get another process's main window in C#, even close it if needed. I think it might help you out.
No I Wi ll Not TellPosted Apr 9, 2007, 7:33 PM
Somebody please answer!!!