Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

changh size of text on list box

aangermaaangerma Member Posts: 14
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

Sign In or Register to comment.