Click here to Skip to main content
16,005,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT5-May-08 17:32
Hamid_RT5-May-08 17:32 
GeneralRe: How to add button control to bitmap? S.O.S Pin
ttarantula5-May-08 21:06
ttarantula5-May-08 21:06 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT6-May-08 1:06
Hamid_RT6-May-08 1:06 
GeneralRe: How to add button control to bitmap? S.O.S Pin
ttarantula6-May-08 15:31
ttarantula6-May-08 15:31 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT6-May-08 17:22
Hamid_RT6-May-08 17:22 
GeneralRe: How to add button control to bitmap? S.O.S Pin
ttarantula6-May-08 17:45
ttarantula6-May-08 17:45 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT6-May-08 18:28
Hamid_RT6-May-08 18:28 
GeneralRe: How to add button control to bitmap? S.O.S Pin
ttarantula6-May-08 18:47
ttarantula6-May-08 18:47 
Here it goes:

>>>In *.h file:

protected:
CBitmapButton m_bmresultsButton;

// Generated message map functions
//{{AFX_MSG(CResultsDialog)
virtual BOOL OnInitDialog();

>>>In *.cpp file :

BOOL CResultsDialog::OnInitDialog()
{
CDialog::OnInitDialog();

m_bmresultsButton. AutoLoad(IDC_BUTTON_BITMAP105, this);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}

>>>In Resource.h file:

#define IDC_BUTTON_BITMAP105 11181

Ema
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT6-May-08 20:14
Hamid_RT6-May-08 20:14 
GeneralRe: How to add button control to bitmap? S.O.S Pin
ttarantula7-May-08 1:06
ttarantula7-May-08 1:06 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT7-May-08 1:19
Hamid_RT7-May-08 1:19 
GeneralRe: How to add button control to bitmap? S.O.S Pin
Hamid_RT7-May-08 18:30
Hamid_RT7-May-08 18:30 
Questionhistogram Pin
umai8-Apr-08 22:17
umai8-Apr-08 22:17 
Generaldividing large numbers Pin
ga10ma8-Apr-08 22:12
ga10ma8-Apr-08 22:12 
GeneralRe: dividing large numbers Pin
Rajesh R Subramanian8-Apr-08 23:13
professionalRajesh R Subramanian8-Apr-08 23:13 
GeneralRe: dividing large numbers Pin
CPallini9-Apr-08 0:15
mveCPallini9-Apr-08 0:15 
GeneralRe: dividing large numbers Pin
ThatsAlok18-Jun-09 23:37
ThatsAlok18-Jun-09 23:37 
GeneralRefresh explorer in Vista Pin
Saurabh.Garg8-Apr-08 22:05
Saurabh.Garg8-Apr-08 22:05 
QuestionHow to fill WAVEFORMATEX structure for G.729 coded file Pin
Judiciousmind8-Apr-08 21:49
Judiciousmind8-Apr-08 21:49 
QuestionPo pup dialog using DoModal and still have some control on the back windows ... How its can be ? Pin
Yanshof8-Apr-08 21:48
Yanshof8-Apr-08 21:48 
GeneralRe: Po pup dialog using DoModal and still have some control on the back windows ... How its can be ? Pin
rp_suman8-Apr-08 22:04
rp_suman8-Apr-08 22:04 
GeneralRe: Po pup dialog using DoModal and still have some control on the back windows ... How its can be ? Pin
Yanshof8-Apr-08 22:10
Yanshof8-Apr-08 22:10 
Question[Message Deleted] Pin
umai8-Apr-08 21:35
umai8-Apr-08 21:35 
QuestionRe: looping Pin
CPallini8-Apr-08 21:55
mveCPallini8-Apr-08 21:55 
GeneralRe: looping Pin
umai8-Apr-08 23:41
umai8-Apr-08 23:41 

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.