SendDigItemMessage function.

Hello I was having problems with the SendDigItemMessage function. This is what I have and it doesn't seem to be working.

1
2
3
if(LOWORD(wParam) == 5){
SendDlgItemMessage(hwnd, WM_SETTEXT, wParam, 2, (LPARAM)"HELLO");
}


Is there something that i'm doing wrong??

Thanks
This should have been posted in the Windows Forum
Secondly - here is how the SendDlgItemMessage parameters are used.
http://msdn.microsoft.com/en-gb/library/windows/desktop/ms645515%28v=vs.85%29.aspx
Topic archived. No new replies allowed.