Click here to Skip to main content
15,847,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help regarding the following error Pin
nbugalia19-Sep-07 21:06
nbugalia19-Sep-07 21:06 
GeneralRe: Please help regarding the following error Pin
David Crow20-Sep-07 3:49
David Crow20-Sep-07 3:49 
Questionadd files and foldder selection box on button click Pin
Dhiraj kumar Saini19-Sep-07 19:44
Dhiraj kumar Saini19-Sep-07 19:44 
AnswerRe: add files and foldder selection box on button click Pin
nbugalia19-Sep-07 20:23
nbugalia19-Sep-07 20:23 
QuestionHow to avoid flickering in CListCtrl Pin
shir_k19-Sep-07 19:11
shir_k19-Sep-07 19:11 
AnswerRe: How to avoid flickering in CListCtrl Pin
Nelek19-Sep-07 21:08
protectorNelek19-Sep-07 21:08 
GeneralRe: How to avoid flickering in CListCtrl Pin
shir_k20-Sep-07 21:36
shir_k20-Sep-07 21:36 
GeneralRe: How to avoid flickering in CListCtrl Pin
Nelek21-Sep-07 2:44
protectorNelek21-Sep-07 2: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 3:45
David Crow20-Sep-07 3:45 
GeneralRe: How to avoid flickering in CListCtrl Pin
shir_k20-Sep-07 21:24
shir_k20-Sep-07 21:24 
QuestionRe: How to avoid flickering in CListCtrl Pin
David Crow21-Sep-07 3:40
David Crow21-Sep-07 3:40 
QuestionHelp me convert Pin
monsieur_jj19-Sep-07 17:15
monsieur_jj19-Sep-07 17:15 
AnswerRe: Help me convert Pin
monsieur_jj19-Sep-07 18:07
monsieur_jj19-Sep-07 18:07 
QuestionMemory Corruption [modified] Pin
devvvy19-Sep-07 16:59
devvvy19-Sep-07 16:59 
AnswerRe: Memory Corruption Pin
Roger Broomfield19-Sep-07 19:07
Roger Broomfield19-Sep-07 19:07 
GeneralRe: Memory Corruption Pin
devvvy19-Sep-07 19:10
devvvy19-Sep-07 19:10 
QuestionHow to Monitor an application which required kill and regenerate if hang Pin
littlecheer19-Sep-07 16:18
littlecheer19-Sep-07 16:18 
AnswerRe: Monitor an application - kill and regenerate if hang Pin
Nathan Holt at EMOM19-Sep-07 16:42
Nathan Holt at EMOM19-Sep-07 16:42 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
littlecheer19-Sep-07 16:55
littlecheer19-Sep-07 16:55 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
devvvy19-Sep-07 19:49
devvvy19-Sep-07 19:49 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
ThatsAlok19-Sep-07 21:35
ThatsAlok19-Sep-07 21:35 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
devvvy19-Sep-07 21:43
devvvy19-Sep-07 21:43 
GeneralRe: Monitor an application - kill and regenerate if hang Pin
littlecheer19-Sep-07 23:26
littlecheer19-Sep-07 23:26 
QuestionMessage Removed Pin
19-Sep-07 13:01
Armond Sarkisian19-Sep-07 13:01 
AnswerRe: Checking for downloadable link Pin
Mark Salsbery19-Sep-07 13:13
Mark Salsbery19-Sep-07 13: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.