Say that I want to send a message to my WndProc, but I want to also send an integer.
SendMessage (m_hWnd, WM_DISPLAYCHANGE, NULL, int?);
My WndProc will receive it right? Then I want to send that lParam(integer) to a function.
case WM_DISPLAYCHANGE:
{
pD2DResources->OnRender(lParam);
}
break;
How do I send an integer as a lParam or wParam and then resend that integer to a function as a parameter?