Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get characters just deleted by BackSpace key(or Delete key) Pin
Truong D. Toan10-Apr-04 8:30
Truong D. Toan10-Apr-04 8:30 
GeneralRe: How to get characters just deleted by BackSpace key(or Delete key) Pin
Manikandan10-Apr-04 8:46
Manikandan10-Apr-04 8:46 
GeneralRe: How to get characters just deleted by BackSpace key(or Delete key) Pin
Truong D. Toan10-Apr-04 9:03
Truong D. Toan10-Apr-04 9:03 
GeneralRe: How to get characters just deleted by BackSpace key(or Delete key) Pin
Truong D. Toan11-Apr-04 20:27
Truong D. Toan11-Apr-04 20:27 
Generalgetline in richedit... Pin
Manikandan10-Apr-04 7:51
Manikandan10-Apr-04 7:51 
General[Newbie] A button with a bitmap Pin
mmica10-Apr-04 4:29
mmica10-Apr-04 4:29 
GeneralRe: [Newbie] A button with a bitmap Pin
Gary R. Wheeler10-Apr-04 5:06
Gary R. Wheeler10-Apr-04 5:06 
GeneralRe: [Newbie] A button with a bitmap Pin
csc10-Apr-04 5:24
csc10-Apr-04 5:24 
Hi Mark

seems like the loaded bitmap resource is set free when your leaving the OnInitDialog(). Therefor the bitmap not appear. Try this hint to avoid that :

create a member var for the bitmap in your Dialog class :

class CMyDialog : public CDialog
{
:
:
private :
CBitmap m_Bmp;
};


and in the OnInitDialog :

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

m_Bmp.LoadBitmap ( IDB_PLAY );
m_button.SetBitmap( m_Bmp );

return TRUE;
}
GeneralRe: [Newbie] A button with a bitmap Pin
toxcct10-Apr-04 5:40
toxcct10-Apr-04 5:40 
GeneralRe: [Newbie] A button with a bitmap Pin
Prakash Nadar10-Apr-04 5:43
Prakash Nadar10-Apr-04 5:43 
GeneralRe: [Newbie] A button with a bitmap Pin
mmica10-Apr-04 7:23
mmica10-Apr-04 7:23 
GeneralRe: [Newbie] A button with a bitmap Pin
Prakash Nadar10-Apr-04 16:06
Prakash Nadar10-Apr-04 16:06 
QuestionHow to find MAC of NIC Pin
Ko Lay10-Apr-04 4:15
sussKo Lay10-Apr-04 4:15 
Questionhow can I add my own funcs to the overrides page in .NET Pin
clayman8710-Apr-04 4:00
clayman8710-Apr-04 4:00 
GeneralHELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Member 1016823310-Apr-04 2:03
Member 1016823310-Apr-04 2:03 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Sarvesvara (BVKS) Dasa10-Apr-04 2:14
Sarvesvara (BVKS) Dasa10-Apr-04 2:14 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Sarvesvara (BVKS) Dasa10-Apr-04 2:15
Sarvesvara (BVKS) Dasa10-Apr-04 2:15 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Renjith Ramachandran10-Apr-04 2:37
Renjith Ramachandran10-Apr-04 2:37 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Sarvesvara (BVKS) Dasa10-Apr-04 2:39
Sarvesvara (BVKS) Dasa10-Apr-04 2:39 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Renjith Ramachandran10-Apr-04 2:50
Renjith Ramachandran10-Apr-04 2:50 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Sarvesvara (BVKS) Dasa10-Apr-04 3:17
Sarvesvara (BVKS) Dasa10-Apr-04 3:17 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Renjith Ramachandran10-Apr-04 4:49
Renjith Ramachandran10-Apr-04 4:49 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
toxcct10-Apr-04 2:51
toxcct10-Apr-04 2:51 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Prakash Nadar10-Apr-04 2:56
Prakash Nadar10-Apr-04 2:56 
GeneralRe: HELLO ADMINNNNNNNNNNNNNNNNNNNNNNNN Pin
Renjith Ramachandran10-Apr-04 2:57
Renjith Ramachandran10-Apr-04 2:57 

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.