G
Guest
Hi. I want to use the Win32 FindWindow() function and I want to use its FIRST
parameter, "ClassName" instead of its "WindowName" parameter to find a window
for a .NET Application.
I feel stupid but I can't seem to figure out 2 things:
1. What I create a Form in a VS.NET Windows Forms Application project,
exactly what text will be the string that Win32 FindWindow()'s ClassName
parameter will take from another application to find my form? It doesn't SEEM
to just be the .Net Class name of the Form. SO what might it be?
2. Is there a dynamic way of finding that class name in my own app? Meaning,
if I have the Form object, is there a property or something which will allow
me to get or build that ClassName string that other apps can use to do
FindWindow() on my form?
Thanks for any help you can give!
Alex
parameter, "ClassName" instead of its "WindowName" parameter to find a window
for a .NET Application.
I feel stupid but I can't seem to figure out 2 things:
1. What I create a Form in a VS.NET Windows Forms Application project,
exactly what text will be the string that Win32 FindWindow()'s ClassName
parameter will take from another application to find my form? It doesn't SEEM
to just be the .Net Class name of the Form. SO what might it be?
2. Is there a dynamic way of finding that class name in my own app? Meaning,
if I have the Form object, is there a property or something which will allow
me to get or build that ClassName string that other apps can use to do
FindWindow() on my form?
Thanks for any help you can give!
Alex