Inserting Icons to buttons

usprasad_m's Avatar, Join Date: May 2007
Newbie Member
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.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You need to have the OnDraw / Paint method to do the same. Remember to have the button as OWNER_DRAW