المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Combobox..



C++ Programming
08-14-2009, 11:54 AM
Hi,
im creating combobox ctrl Thru code but not from resource...and Pls let me know how can i increase the height of the ctrl based on the font...ie if the font is small ctrl should be small else if the Font is bigger Ctrl should increase....

i used SetFont() but it doesn"t help...

and even i tried using GetComboBoxInfo and obtained HWND hwndItem,HWND hwndList; handles for Editbox and drop-down list but i want to know how can i setfont for the same...