I want to insert jpeg or gif image on button
for my project. I am using mfc classes. Can any body
guide to achieve my task
thanks in advance
I want to insert jpeg or gif image on button
for my project. I am using mfc classes. Can any body
guide to achieve my task
thanks in advance
I'm not 100% about which one (I use just the WIN32 API not MFC) but you will need to use an image conversion libary. That is Windows only realy deals with bitmaps. So to use jpgs you need a libary to convert them to bitmaps (kind of).
GDI and or GDI++ are the MS ones and free (again not 100%)
I use a version from smalleranimalsoftware that is fast and has some very good functions but is not free.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
I could not follow ! I want to insert just like to I do with
CBitmapButton Class.
I wan't a guidance in that regard
any help could be considered with high regards
You can't.
Need to make jpg == bitmap
look here
http://www.codeguru.com/gdi/GDIPlus.html
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill