I tried to create button (child window) inside WM_NCCREATE message, and its position seemed to be created respected to screen coordinates, rather than client coordinates. At first, I thought WM_CREATE and WM_NCCREATE provide us the same handle to window, but this seem to be untrue. Therefore, can anyone explain me the differences between WM_CREATE and WM_NCCREATE messages? Also what are the differences between handle to window in WM_CREATE and in WM_NCCREATE?
I tried to create button (child window) inside WM_NCCREATE message, and its position seemed
Share
Per MSDN:
WM_NCCREATE:
Return Value:
WM_CREATE:
Return Value: