Hello,
I am trying to changh the size of the text on the list box, I have tried to do it on OnDrawItem()
like this:
CFont font;
font.CreateFont(100,20,0,0,FW_DONTCARE,FALSE,
TRUE,FALSE,DEFAULT_CHARSET,OUT_OUTLINE_PRECIS,
CLIP_DEFAULT_PRECIS,CLEARTYPE_QUALITY, VARIABLE_PITCH,TEXT("Times New Roman"));
SelectObject(ODI_lpDrawItemStruct->hDC,&font);
but its not doing anything, the size of the text stay the same.
if anyone know how can I do this ,I would be vary thankful for him.
seancerly
Comments