I have 2 questions, The first being how does MAKELPARAM() macro generate a proper lparam for my EDIT box with these parameters:
Code:
SendMessage(hEdit, WM_SETFONT, (WPARAM)hfDefault, MAKELPARAM(FALSE, 0));
The second being, how does IDC_MAIN_EDIT become a handle to my edit box by implementing it into the menu parameter in my CreateWindowEx() function:
Code:
hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "",
WS_CHILD | WS_VISIBLE,
0,0,0,0, hwnd, (HMENU)IDC_MAIN_EDIT,
GetModuleHandle(NULL), NULL);