G
GTi
In win32 I define my window class with
wcex.lpszClassName = "My.Window.App.Class";
RegisterClassEx(&wcex);
But I can't find anything similar in C#, in fact the class for
my application is WindowsForms10.Window.8.app4
But I can't find where this is defined.
How can I rename this class to my own name?
I do not want several instance of my window application.
How can I prevent this?
In C/C++ I use
if(FindWindow("WindowsForms10.Window.8.app4", NULL)) return(0);
This is sufficient for me.
Is there any C# way to do this or must I pInvoke FindWindow in C# too?
GTi
wcex.lpszClassName = "My.Window.App.Class";
RegisterClassEx(&wcex);
But I can't find anything similar in C#, in fact the class for
my application is WindowsForms10.Window.8.app4
But I can't find where this is defined.
How can I rename this class to my own name?
I do not want several instance of my window application.
How can I prevent this?
In C/C++ I use
if(FindWindow("WindowsForms10.Window.8.app4", NULL)) return(0);
This is sufficient for me.
Is there any C# way to do this or must I pInvoke FindWindow in C# too?
GTi