Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Safe functions after heap corruption? Pin
Stephen Hewitt24-Aug-06 17:35
Stephen Hewitt24-Aug-06 17:35 
AnswerRe: Safe functions after heap corruption? Pin
ThatsAlok24-Aug-06 18:20
ThatsAlok24-Aug-06 18:20 
AnswerRe: Safe functions after heap corruption? Pin
chilituna24-Aug-06 23:37
chilituna24-Aug-06 23:37 
QuestionIntilaisation Problem (colors, icons to the button) Pin
kiranin24-Aug-06 2:08
kiranin24-Aug-06 2:08 
AnswerRe: Intilaisation Problem (colors, icons to the button) Pin
prasad_som24-Aug-06 2:21
prasad_som24-Aug-06 2:21 
QuestionRe: Intilaisation Problem (colors, icons to the button) Pin
kiranin24-Aug-06 2:35
kiranin24-Aug-06 2:35 
QuestionRe: Intilaisation Problem (colors, icons to the button) Pin
prasad_som24-Aug-06 2:43
prasad_som24-Aug-06 2:43 
QuestionRe: Intilaisation Problem (colors, icons to the button) Pin
kiranin24-Aug-06 2:54
kiranin24-Aug-06 2:54 
<br />
void CFirstLook::OnInitialUpdate() <br />
{<br />
	CFormView::OnInitialUpdate();<br />
	<br />
<br />
	<br />
<br />
	m_btnApps.SetIcon(IDI_ICON2);<br />
<br />
	m_btnApps.SetColor(2,RGB(128,128,128),FALSE);<br />
	m_btnApps.SetColor(0,RGB(255,0,0),TRUE);<br />
	<br />
	<br />
}<br />
void CFirstLook::OnDraw(CDC* pDC) <br />
{<br />
	// TODO: Add your specialized code here and/or call the base class<br />
<br />
	<br />
<br />
	<br />
}<br />

If i put it OnDraw i got assertion Failure.

I put it in Class contstructor i got assertion failure

but i ignore this i got the form window and after clicking on that button

am gettiong icon.
AnswerRe: Intilaisation Problem (colors, icons to the button) Pin
Hamid_RT25-Aug-06 1:49
Hamid_RT25-Aug-06 1:49 
GeneralRe: Intilaisation Problem (colors, icons to the button) Pin
kiranin25-Aug-06 3:43
kiranin25-Aug-06 3:43 
GeneralRe: Intilaisation Problem (colors, icons to the button) Pin
Hamid_RT25-Aug-06 4:36
Hamid_RT25-Aug-06 4:36 
GeneralRe: Intilaisation Problem (colors, icons to the button) Pin
prasad_som24-Aug-06 3:04
prasad_som24-Aug-06 3:04 
QuestionProblem with CColorDlg. Pin
uday kiran janaswamy24-Aug-06 2:05
uday kiran janaswamy24-Aug-06 2:05 
QuestionRe: Problem with CColorDlg. Pin
prasad_som24-Aug-06 2:18
prasad_som24-Aug-06 2:18 
AnswerRe: Problem with CColorDlg. [modified] Pin
uday kiran janaswamy24-Aug-06 2:27
uday kiran janaswamy24-Aug-06 2:27 
GeneralRe: Problem with CColorDlg. [Modified] Pin
prasad_som24-Aug-06 2:36
prasad_som24-Aug-06 2:36 
GeneralRe: Problem with CColorDlg. Pin
uday kiran janaswamy24-Aug-06 2:37
uday kiran janaswamy24-Aug-06 2:37 
GeneralRe: Problem with CColorDlg. [modified] Pin
prasad_som24-Aug-06 2:41
prasad_som24-Aug-06 2:41 
GeneralRe: Problem with CColorDlg. [modified] Pin
uday kiran janaswamy24-Aug-06 3:13
uday kiran janaswamy24-Aug-06 3:13 
GeneralRe: Problem with CColorDlg. [modified] Pin
prasad_som24-Aug-06 3:43
prasad_som24-Aug-06 3:43 
GeneralRe: Problem with CColorDlg. Pin
uday kiran janaswamy24-Aug-06 19:05
uday kiran janaswamy24-Aug-06 19:05 
GeneralRe: Problem with CColorDlg. Pin
Hamid_RT25-Aug-06 1:44
Hamid_RT25-Aug-06 1:44 
QuestionUSB drive volume mount points cann't be backed up on the other system Pin
Zahid Younas24-Aug-06 1:58
Zahid Younas24-Aug-06 1:58 
QuestionBit Edit Control Pin
SzyKam24-Aug-06 1:57
SzyKam24-Aug-06 1:57 
AnswerRe: Bit Edit Control Pin
Cedric Moonen24-Aug-06 2:00
Cedric Moonen24-Aug-06 2:00 

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.