Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help regarding the following error Pin
nbugalia19-Sep-07 20:06
nbugalia19-Sep-07 20:06 
GeneralRe: Please help regarding the following error Pin
David Crow20-Sep-07 2:49
David Crow20-Sep-07 2:49 
Questionadd files and foldder selection box on button click Pin
Dhiraj kumar Saini19-Sep-07 18:44
Dhiraj kumar Saini19-Sep-07 18:44 
AnswerRe: add files and foldder selection box on button click Pin
nbugalia19-Sep-07 19:23
nbugalia19-Sep-07 19:23 
QuestionHow to avoid flickering in CListCtrl Pin
shir_k19-Sep-07 18:11
shir_k19-Sep-07 18:11 
AnswerRe: How to avoid flickering in CListCtrl Pin
Nelek19-Sep-07 20:08
protectorNelek19-Sep-07 20:08 
GeneralRe: How to avoid flickering in CListCtrl Pin
shir_k20-Sep-07 20:36
shir_k20-Sep-07 20:36 
GeneralRe: How to avoid flickering in CListCtrl Pin
Nelek21-Sep-07 1:44
protectorNelek21-Sep-07 1:44 
Well, I reset tmy ListCttrlView everytime the OnDraw is called to empty all datas and then I write the newest values.
void CMyTabView::OnDraw(CDC* pDC) 
{	if (m_bJustOpened)
		InitializeView ();
	if (m_bListRedraw)
		DrawViewElements ();
	return;	
}


In initialize views I configure the number of columns (may be variable from 8 up to 32). Write the name of columns and so on...

By DrawViewElements (); my FIRST line is: m_clcRuleList.DeleteAllItems ();
and then I write them down another time.

And with that you can call the OnDraw easily with an pDoc->UpdateAllViews (NULL); in a Timer with the interval you desire


Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

AnswerRe: How to avoid flickering in CListCtrl Pin
David Crow20-Sep-07 2:45
David Crow20-Sep-07 2:45 
GeneralRe: How to avoid flickering in CListCtrl Pin
shir_k20-Sep-07 20:24
shir_k20-Sep-07 20:24 
QuestionRe: How to avoid flickering in CListCtrl Pin
David Crow21-Sep-07 2:40
David Crow21-Sep-07 2:40 
QuestionHelp me convert Pin
monsieur_jj19-Sep-07 16:15
monsieur_jj19-Sep-07 16:15 
AnswerRe: Help me convert Pin
monsieur_jj19-Sep-07 17:07
monsieur_jj19-Sep-07 17:07 
QuestionMemory Corruption [modified] Pin
devvvy19-Sep-07 15:59
devvvy19-Sep-07 15:59 
AnswerRe: Memory Corruption Pin
Roger Broomfield19-Sep-07 18:07
Roger Broomfield19-Sep-07 18:07 
GeneralRe: Memory Corruption Pin
devvvy19-Sep-07 18:10
devvvy19-Sep-07 18:10 
QuestionHow to Monitor an application which required kill and regenerate if hang Pin
littlecheer19-Sep-07 15:18
littlecheer19-Sep-07 15:18 
AnswerRe: Monitor an application - kill and regenerate if hang Pin
Nathan Holt at EMOM19-Sep-07 15:42
Nathan Holt at EMOM19-Sep-07 15:42 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
littlecheer19-Sep-07 15:55
littlecheer19-Sep-07 15:55 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
devvvy19-Sep-07 18:49
devvvy19-Sep-07 18:49 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
ThatsAlok19-Sep-07 20:35
ThatsAlok19-Sep-07 20:35 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
devvvy19-Sep-07 20:43
devvvy19-Sep-07 20:43 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
littlecheer19-Sep-07 22:26
littlecheer19-Sep-07 22:26 
QuestionMessage Removed Pin
19-Sep-07 12:01
Armond Sarkisian19-Sep-07 12:01 
AnswerRe: Checking for downloadable link Pin
Mark Salsbery19-Sep-07 12:13
Mark Salsbery19-Sep-07 12:13 

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.