Click here to Skip to main content
15,889,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
theCPkid30-Jun-08 2:54
theCPkid30-Jun-08 2:54 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
Rajesh R Subramanian30-Jun-08 4:22
professionalRajesh R Subramanian30-Jun-08 4:22 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
theCPkid30-Jun-08 5:36
theCPkid30-Jun-08 5:36 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
Rajesh R Subramanian30-Jun-08 5:43
professionalRajesh R Subramanian30-Jun-08 5:43 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
theCPkid30-Jun-08 5:51
theCPkid30-Jun-08 5:51 
GeneralRe: No cookie for C++ developers (Including Iain) Pin
Rajesh R Subramanian30-Jun-08 20:14
professionalRajesh R Subramanian30-Jun-08 20:14 
QuestionCan I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 0:49
danginkgo30-Jun-08 0:49 
AnswerRe: Can I use gif images for some toolbar buttons? Pin
Iain Clarke, Warrior Programmer30-Jun-08 2:04
Iain Clarke, Warrior Programmer30-Jun-08 2:04 
It's going to take some work. You can use OldLoadPicture to load a gif, which will give you an IPicture object. But you'll still need to show it on a button.

The windows BUTTON class only takes HBITMAPs, so you'd need to do some owner draw.

Luckily there's a whole bunch of owner-draw-buttons of all sorts here on codeproject. Look under desktop development / button controls. Even if you don't use one exactly (which would be a shock), you can still get good ideas on how to do your button.

Good luck,

Iain.

Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

GeneralRe: Can I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 2:17
danginkgo30-Jun-08 2:17 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
Iain Clarke, Warrior Programmer30-Jun-08 2:27
Iain Clarke, Warrior Programmer30-Jun-08 2:27 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 2:31
danginkgo30-Jun-08 2:31 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
Nibu babu thomas30-Jun-08 2:45
Nibu babu thomas30-Jun-08 2:45 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 3:11
danginkgo30-Jun-08 3:11 
QuestionC++ Newbie question Pin
kaminem30-Jun-08 0:05
kaminem30-Jun-08 0:05 
AnswerRe: C++ Newbie question Pin
toxcct30-Jun-08 0:16
toxcct30-Jun-08 0:16 
GeneralRe: C++ Newbie question Pin
kaminem30-Jun-08 0:26
kaminem30-Jun-08 0:26 
GeneralRe: C++ Newbie question Pin
toxcct30-Jun-08 1:30
toxcct30-Jun-08 1:30 
AnswerRe: C++ Newbie question Pin
Saurabh.Garg30-Jun-08 0:17
Saurabh.Garg30-Jun-08 0:17 
GeneralRe: C++ Newbie question Pin
kaminem30-Jun-08 0:24
kaminem30-Jun-08 0:24 
GeneralRe: C++ Newbie question Pin
markkuk30-Jun-08 1:28
markkuk30-Jun-08 1:28 
Questionprint input parameter values Pin
George_George29-Jun-08 23:35
George_George29-Jun-08 23:35 
AnswerRe: print input parameter values Pin
Rajesh R Subramanian29-Jun-08 23:41
professionalRajesh R Subramanian29-Jun-08 23:41 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 1:10
George_George30-Jun-08 1:10 
GeneralRe: print input parameter values Pin
Rajesh R Subramanian30-Jun-08 1:24
professionalRajesh R Subramanian30-Jun-08 1:24 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 1:46
George_George30-Jun-08 1:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.