I've created an edit box within a window using the following code:
hEdit = CreateWindow(L"EDIT",name,WS_VISIBLE | WS_BORDER | ES_CENTER | ES_READONLY | ES_MULTILINE,
LEFTMARGIN, // x
HEADER, // y
WIDTH - LEFTMARGIN - RIGHTMARGIN, // width
OBJECTHEIGHT, // height
hwnd,IDC_EDIT,hinst,NULL);
Where the variable "name" is the text which needs to appear in the edit box. What I need to do is change the font of this text, or more specifically, make it BOLD. How would I go about this? Please note, my programming knowledge if fairly shakey so please try and make your responses not too cryptic
hEdit = CreateWindow(L"EDIT",name,WS_VISIBLE | WS_BORDER | ES_CENTER | ES_READONLY | ES_MULTILINE,
LEFTMARGIN, // x
HEADER, // y
WIDTH - LEFTMARGIN - RIGHTMARGIN, // width
OBJECTHEIGHT, // height
hwnd,IDC_EDIT,hinst,NULL);
Where the variable "name" is the text which needs to appear in the edit box. What I need to do is change the font of this text, or more specifically, make it BOLD. How would I go about this? Please note, my programming knowledge if fairly shakey so please try and make your responses not too cryptic
