Is it possible a button with icon and text... the default size is too small for me to draw an icon and add the text... anyway can change the size of the icon??
Printable View
Is it possible a button with icon and text... the default size is too small for me to draw an icon and add the text... anyway can change the size of the icon??
You need an owner drawn button. There are lots of free & commercial buttons. Here you will find several examples: CodeGuru - Buttons
did there have any more easy way?? as a icon button is just few line of code...Quote:
Originally Posted by PadexArt
If you want the esy way out I suggest VB or .NET. ;)Quote:
Originally Posted by lsy
i also know in VB which is more easy to control... but i need to use VC:(Quote:
Originally Posted by PadexArt
Why don't you use a ready made Image Button Control from the list I've provided. Or look on Codeproject. They also have an extensive list of ready made free button controls. Most of them are also really easy to use.
CButtonST maybe a good choice for you,you can found it here:
http://www.codeproject.com/buttonctrl/cbuttonst.asp
Andy
---------------------------------------------------------------------------------
XD++ MFC/C++ Flow/Diagram Library (Full Visio 2003 Like,100% Source Code Kit) -- http://www.********.net
I suggest using a bitmap button and setting it with a bitmap that contains the image you want and the text.
Thanks all.... i done it!!!
just another small question.... do there have any website which can download nice and free icon :P
How can i add this icon to a tab control title??Quote:
Originally Posted by andytim
You can customize the exist CTabCtrl (Maybe you can search it on codeguru or codeproject) to add small icon to the titlebar,if you want other professional look tab control with icon and sourcecode,the following maybe useful to you:
http://www.********.net/Products/TFC/Screens.htm
For other tab control,you can use google to search it.
Andy
ad: I suggest using a bitmap button and setting it with a bitmap that contains the image you want and the text.
-> if possible do not mix it (making any international version you will find why)