Tech Support > Microsoft Windows > Development Resources > First message being sent to WindowProc
First message being sent to WindowProc
Posted by Admirer on November 11th, 2007


I used MessageBox to identify the 1st message like this:
In WindowProc function:
wsprintf(my_buff,"%i",message);
MessageBox(hwnd,my_buff,TEXT("WM_CREATE"),0);
return DefWindowProc (hwnd, message, wParam, lParam) ;

Its showing 31 10 134 again 31,6 like that.What these all means.
Anyway which is the first message,I guess its not the WM_CREATE
and when i searched for 0x0031 in winuser.h its showing a
WM_SETFONT ,is that true!!!.
But when i tried to map WM_SETFONT,thats not printing 31.
Point out where i went wrong,please.

Posted by Christian ASTOR on November 11th, 2007


Admirer wrote:

[WM_GETMINMAXINFO (if sizeable or tiled)]
WM_NCCREATE

Posted by Admirer on November 11th, 2007


and means tiled ,isnt it


Similar Posts