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

C / C++ / MFC

 
QuestionRe: How to remove all source code symbol names from Release build Pin
Maximilien10-Sep-07 6:42
Maximilien10-Sep-07 6:42 
AnswerRe: How to remove all source code symbol names from Release build Pin
ovz10-Sep-07 8:57
ovz10-Sep-07 8:57 
GeneralRe: How to remove all source code symbol names from Release build Pin
carrivick12-Sep-07 21:56
carrivick12-Sep-07 21:56 
QuestionHow can i send some event of update the Environment variables ? Pin
Yanshof10-Sep-07 5:41
Yanshof10-Sep-07 5:41 
QuestionRe: How can i send some event of update the Environment variables ? Pin
David Crow10-Sep-07 5:52
David Crow10-Sep-07 5:52 
AnswerRe: How can i send some event of update the Environment variables ? Pin
Yanshof10-Sep-07 10:13
Yanshof10-Sep-07 10:13 
QuestionRe: How can i send some event of update the Environment variables ? Pin
David Crow10-Sep-07 10:25
David Crow10-Sep-07 10:25 
QuestionAdd data to List control Pin
Max++10-Sep-07 5:19
Max++10-Sep-07 5:19 
My project have a list control and have to add a lot of data to it(more than 1000 item) I use these code for add each item.
void CGraphFrom::AddDataList(CListCtrl *m_list, int row,<br />
		CString col0, CString col1, CString col2, <br />
                CString col3, CString col4, CString col5)<br />
{<br />
	<br />
	LVITEM lvi;<br />
	lvi.mask = LVIF_TEXT;lvi.iItem=row;<br />
	lvi.iSubItem = 0;lvi.pszText = (char*)(LPCTSTR)col0;<br />
	m_list->InsertItem(&lvi);<br />
<br />
	lvi.iSubItem = 1;lvi.pszText = (char*)(LPCTSTR)col1;<br />
	m_list->SetItem(&lvi);<br />
<br />
	lvi.iSubItem = 2;lvi.pszText = (char*)(LPCTSTR)col2;<br />
	m_list->SetItem(&lvi);<br />
<br />
	lvi.iSubItem = 3;lvi.pszText = (char*)(LPCTSTR)col3;<br />
	m_list->SetItem(&lvi);<br />
<br />
	lvi.iSubItem = 4;lvi.pszText = (char*)(LPCTSTR)col4;<br />
	m_list->SetItem(&lvi);<br />
<br />
	lvi.iSubItem = 5;lvi.pszText = (char*)(LPCTSTR)col5;<br />
	m_list->SetItem(&lvi);<br />
		<br />
}<br />

my problem is that
while program is adding the item my program look like hang up,
because the list control is updated every time when it add item.

How can I do if I want to update it only one time when it finish adding item.
AnswerRe: Add data to List control Pin
David Crow10-Sep-07 5:30
David Crow10-Sep-07 5:30 
AnswerRe: Add data to List control Pin
Vaclav_10-Sep-07 7:25
Vaclav_10-Sep-07 7:25 
AnswerRe: Add data to List control Pin
Nelek11-Sep-07 23:43
protectorNelek11-Sep-07 23:43 
QuestionHow to set a breakpoint in code Pin
Soundman32.210-Sep-07 4:24
Soundman32.210-Sep-07 4:24 
AnswerRe: How to set a breakpoint in code Pin
JudyL_MD10-Sep-07 4:35
JudyL_MD10-Sep-07 4:35 
GeneralRe: How to set a breakpoint in code Pin
Soundman32.210-Sep-07 5:32
Soundman32.210-Sep-07 5:32 
GeneralRe: How to set a breakpoint in code Pin
jhwurmbach10-Sep-07 7:21
jhwurmbach10-Sep-07 7:21 
GeneralRe: How to set a breakpoint in code Pin
JudyL_MD10-Sep-07 10:33
JudyL_MD10-Sep-07 10:33 
QuestionRegistry function Pin
john563210-Sep-07 3:56
john563210-Sep-07 3:56 
AnswerRe: Registry function Pin
David Crow10-Sep-07 5:17
David Crow10-Sep-07 5:17 
GeneralRe: Registry function Pin
led mike10-Sep-07 5:20
led mike10-Sep-07 5:20 
Questiondata initialization, syntax of C++? Pin
includeh1010-Sep-07 2:53
includeh1010-Sep-07 2:53 
AnswerRe: data initialization, syntax of C++? Pin
Russell'10-Sep-07 3:44
Russell'10-Sep-07 3:44 
AnswerRe: data initialization, syntax of C++? Pin
Michael Dunn10-Sep-07 19:53
sitebuilderMichael Dunn10-Sep-07 19:53 
QuestionHow to decrease the CPU usage Pin
GauranG Shah10-Sep-07 2:47
GauranG Shah10-Sep-07 2:47 
AnswerRe: How to decrease the CPU usage Pin
baerten10-Sep-07 2:50
baerten10-Sep-07 2:50 
GeneralRe: How to decrease the CPU usage Pin
GauranG Shah10-Sep-07 3:18
GauranG Shah10-Sep-07 3:18 

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.