Inserting Icons to buttons

Newbie Member
22May2007,16:50   #1
usprasad_m's Avatar
Hi all.
I want to know how to Insert icons with text on a mfc button.
I have tried with set icon method of CButton class. But i am only able set the icon
but i cant insert the text(caption) on the button.
Any one please tell me how to insert both icon and text into a button.
Go4Expert Founder
22May2007,17:06   #2
shabbir's Avatar
You need to have the OnDraw / Paint method to do the same. Remember to have the button as OWNER_DRAW