D
Dom
I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
Dom
override WndProc? Don't you need the window messages?
Dom
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dom said:I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
Dom said:I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
Dom said:I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
Dom
I can't find it anywhere. And if you don't have it, how do you
override WndProc? Don't you need the window messages?
Dom
Dom said:I guess I was being a little to coy. I know that C# does not have
".h" files, I meant, "what does it use instead." In particular, I
wanted to know how to get the message codes.
In C++, when you write a Wndproc, you need the message codes. You
always write a long switch statement, in which you case out the
messages you want to handle, such as WM_RBUTTONDOWN. For example, you
might write:
switch (msg)
case WM_RBUTTONDOWN:
Button1_Click (hwnd, msg, wParam, lParam);
break;
and so on. I assumed WM_???? was defined somewhere in C#.
I guess I was being a little to coy. I know that C# does not have
".h" files, I meant, "what does it use instead." In particular, I
wanted to know how to get the message codes.
In C++, when you write a Wndproc, you need the message codes. You
always write a long switch statement, in which you case out the
messages you want to handle, such as WM_RBUTTONDOWN. For example, you
might write:
switch (msg)
case WM_RBUTTONDOWN:
Button1_Click (hwnd, msg, wParam, lParam);
break;
and so on. I assumed WM_???? was defined somewhere in C#.
If I am fundamentally mistaken, and Arne's articles will set me
straight, then don't bother answering.
Dom

Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.