Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Lots of free stuff on VC++ Pin
Sudhir Mangla16-Mar-04 23:32
professionalSudhir Mangla16-Mar-04 23:32 
GeneralRe: Lots of free stuff on VC++ Pin
Prakash Nadar17-Mar-04 2:41
Prakash Nadar17-Mar-04 2:41 
GeneralRe: Lots of free stuff on VC++ Pin
Sudhir Mangla16-Mar-04 22:25
professionalSudhir Mangla16-Mar-04 22:25 
GeneralRe: Lots of free stuff on VC++ Pin
Christian Graus17-Mar-04 8:35
protectorChristian Graus17-Mar-04 8:35 
GeneralRe: Lots of free stuff on VC++ Pin
Sudhir Mangla17-Mar-04 16:30
professionalSudhir Mangla17-Mar-04 16:30 
GeneralMSComm Control Pin
Nguyen Duc Thang9-Mar-04 16:57
Nguyen Duc Thang9-Mar-04 16:57 
GeneralRe: MSComm Control Pin
Branislav9-Mar-04 19:25
Branislav9-Mar-04 19:25 
QuestionSetting a bitmap to a button? Pin
MeterMan9-Mar-04 16:54
MeterMan9-Mar-04 16:54 
Could someone please post an example of how to make a button contain a bitmap. I know how to make it contain an icon by doing the following but how do i use a bitmap instead of an icon:

////IN HEADER FILE//
HICON m_h0;
///////////////////


CWinApp* pApp = AfxGetApp();
if (pApp != 0)
{
m_h0 = pApp ->LoadIcon(IDI_ball0); //IDI_ball0 is id of the icon
}

m_ball1.SetIcon(m_h0); // ball1 is the control for the picture

Thanks in advance




Win32newb


"Making windows programs worse than they already are"
AnswerRe: Setting a bitmap to a button? Pin
valikac9-Mar-04 17:07
valikac9-Mar-04 17:07 
GeneralRe: Setting a bitmap to a button? Pin
MeterMan9-Mar-04 19:12
MeterMan9-Mar-04 19:12 
GeneralNeed help with personal project.... Pin
Jodieluv9-Mar-04 15:58
Jodieluv9-Mar-04 15:58 
GeneralRe: Need help with personal project.... Pin
Christian Graus9-Mar-04 17:20
protectorChristian Graus9-Mar-04 17:20 
GeneralRe: Need help with personal project.... Pin
Jodieluv12-Mar-04 9:00
Jodieluv12-Mar-04 9:00 
GeneralRe: Need help with personal project.... Pin
Christian Graus14-Mar-04 9:02
protectorChristian Graus14-Mar-04 9:02 
GeneralRe: Need help with personal project.... Pin
Jodieluv15-Mar-04 5:06
Jodieluv15-Mar-04 5:06 
GeneralRe: Need help with personal project.... Pin
l a u r e n9-Mar-04 20:15
l a u r e n9-Mar-04 20:15 
GeneralRe: Need help with personal project.... Pin
MeterMan12-Mar-04 20:44
MeterMan12-Mar-04 20:44 
GeneralNeed help with personal project.... Pin
Jodieluv9-Mar-04 15:55
Jodieluv9-Mar-04 15:55 
GeneralInteract with Windows Mediaplayer Pin
Chen Pang9-Mar-04 15:47
Chen Pang9-Mar-04 15:47 
GeneralStatic example compilation problem Pin
rmnowick9-Mar-04 15:47
rmnowick9-Mar-04 15:47 
Generalhelp with a simple program that use structure Pin
bishead9-Mar-04 15:44
bishead9-Mar-04 15:44 
GeneralRe: help with a simple program that use structure Pin
Christian Graus9-Mar-04 17:17
protectorChristian Graus9-Mar-04 17:17 
GeneralRe: help with a simple program that use structure Pin
Prakash Nadar9-Mar-04 17:28
Prakash Nadar9-Mar-04 17:28 
GeneralRe: help with a simple program that use structure Pin
Roger Wright9-Mar-04 19:03
professionalRoger Wright9-Mar-04 19:03 
GeneralRe: help with a simple program that use structure Pin
Prakash Nadar9-Mar-04 19:07
Prakash Nadar9-Mar-04 19:07 

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.