XxBartmanxX
Member
Hey,
I dont know how many of you are familiar with C++ and Win32 programming, but here is what I would like to do in C#.
I need to write my own event handler, much like you would write a message loop in C++.
Bascially, I want to be able to handle every event fired off myself.
For example, this is similar to what it would look like in C++.
Take note that the ellipses are there as place holders for code
Hopefully what I need to do is possible in C#, and hopefully you understand what I tried to explain.
Thanks
I dont know how many of you are familiar with C++ and Win32 programming, but here is what I would like to do in C#.
I need to write my own event handler, much like you would write a message loop in C++.
Bascially, I want to be able to handle every event fired off myself.
For example, this is similar to what it would look like in C++.
Code:
...
switch(msg)
{
case WM_RMCLICK:
...
break;
case WM_MINIMIZE:
...
break;
case WM_QUIT:
...
break;
default:
...
break;
}
...
Take note that the ellipses are there as place holders for code
Hopefully what I need to do is possible in C#, and hopefully you understand what I tried to explain.
Thanks