How to get handle of an Win32 Application using C#.NET?
i want to get handle of skype application in my C# application.
Is it possible?
How to get handle of an Win32 Application using C#.NET?
i want to get handle of skype application in my C# application.
Is it possible?
[DllImport("user32.dll",EntryPoint="FindWindow")]
private static extern int FindWindow(string sClass, string sWindow);
int nWinHandle = FindWindow("yourwindow",null);
for example