Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to display the Bitmap that created by CreateBitmap function? Pin
Naveen28-Feb-07 2:13
Naveen28-Feb-07 2:13 
GeneralRe: How to display the Bitmap that created by CreateBitmap function? Pin
vasu_sri28-Feb-07 2:26
vasu_sri28-Feb-07 2:26 
GeneralRe: How to display the Bitmap that created by CreateBitmap function? Pin
Naveen28-Feb-07 17:01
Naveen28-Feb-07 17:01 
GeneralRe: How to display the Bitmap that created by CreateBitmap function? Pin
vasu_sri28-Feb-07 20:17
vasu_sri28-Feb-07 20:17 
GeneralRe: How to display the Bitmap that created by CreateBitmap function? Pin
Naveen28-Feb-07 20:59
Naveen28-Feb-07 20:59 
Questionseprator in toolbar Pin
sulabh_expert@rediffmail.com28-Feb-07 1:25
sulabh_expert@rediffmail.com28-Feb-07 1:25 
AnswerRe: seprator in toolbar Pin
Nibu babu thomas28-Feb-07 1:29
Nibu babu thomas28-Feb-07 1:29 
Questionchanging text of listCtrl-header - part two Pin
ensger28-Feb-07 1:21
ensger28-Feb-07 1:21 
Got good help last week for changing text of listCtrl-header and I thougth, my problem is solved. I've the following code:
void koarkstewView::alterheadercontent()<br />
{<br />
	LVCOLUMN lvc;<br />
	CString titel;<br />
	CListCtrl &listCtrl = GetListCtrl();<br />
	koarkstewDoc* pDoc = GetDocument();<br />
<br />
	karkst *karkstanz;<br />
	karkstanz = pDoc->karkstanz;<br />
	pDoc->SetTitle("KAR->KST");<br />
	int i = 3;<br />
	if (karkstanz->wdfirst())<br />
		do<br />
		{<br />
			i++;<br />
			titel = karkstanz->wdgetkarnr() + "\n";<br />
			titel = titel + gettitel(0, karkstanz->wdgetdatenart(), karkstanz->wdgetvon(), karkstanz->wdgetbis());<br />
			listCtrl.GetColumn(i, &lvc);<br />
			lvc.pszText = titel.GetBuffer(0);<br />
			titel.ReleaseBuffer(); <br />
			listCtrl.SetColumn(i, &lvc);<br />
		}<br />
		while(karkstanz->wdnext());<br />
<br />
}


Works fine - but only in debug-mode!! In release-mode, the text doesn't changeMad | :mad:

But how to debug the code, if it work's in debug-modeConfused | :confused:

Any proposals?? Thanks, Gerhard
AnswerRe: changing text of listCtrl-header - part two Pin
prasad_som28-Feb-07 1:35
prasad_som28-Feb-07 1:35 
GeneralRe: changing text of listCtrl-header - part two Pin
ensger28-Feb-07 1:42
ensger28-Feb-07 1:42 
AnswerRe: changing text of listCtrl-header - part two Pin
prasad_som28-Feb-07 2:14
prasad_som28-Feb-07 2:14 
QuestionRe: changing text of listCtrl-header - part two Pin
David Crow28-Feb-07 2:42
David Crow28-Feb-07 2:42 
AnswerRe: changing text of listCtrl-header - part two Pin
ensger28-Feb-07 3:02
ensger28-Feb-07 3:02 
GeneralRe: changing text of listCtrl-header - part two Pin
David Crow28-Feb-07 3:10
David Crow28-Feb-07 3:10 
GeneralRe: changing text of listCtrl-header - part two Pin
ensger28-Feb-07 3:22
ensger28-Feb-07 3:22 
QuestionMultithreading Pin
neha.agarwal2728-Feb-07 0:44
neha.agarwal2728-Feb-07 0:44 
AnswerRe: Multithreading [modified] Pin
baerten28-Feb-07 0:48
baerten28-Feb-07 0:48 
AnswerRe: Multithreading Pin
prasad_som28-Feb-07 0:59
prasad_som28-Feb-07 0:59 
AnswerRe: Multithreading Pin
ThatsAlok28-Feb-07 19:28
ThatsAlok28-Feb-07 19:28 
QuestionIterate all the Controls in Dialog. Pin
Uday Janaswamy28-Feb-07 0:38
Uday Janaswamy28-Feb-07 0:38 
AnswerRe: Iterate all the Controls in Dialog. Pin
Nibu babu thomas28-Feb-07 0:44
Nibu babu thomas28-Feb-07 0:44 
AnswerRe: Iterate all the Controls in Dialog. Pin
toxcct28-Feb-07 0:44
toxcct28-Feb-07 0:44 
AnswerRe: Iterate all the Controls in Dialog. Pin
prasad_som28-Feb-07 0:56
prasad_som28-Feb-07 0:56 
GeneralRe: Iterate all the Controls in Dialog. Pin
Uday Janaswamy28-Feb-07 1:05
Uday Janaswamy28-Feb-07 1:05 
AnswerRe: Iterate all the Controls in Dialog. Pin
ThatsAlok28-Feb-07 19:25
ThatsAlok28-Feb-07 19:25 

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.