Click here to Skip to main content
16,021,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: My MFC Application Takes 100% of CPU? Pin
Hamid Taebi29-Aug-06 2:10
professionalHamid Taebi29-Aug-06 2:10 
QuestionRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
David Crow29-Aug-06 3:55
David Crow29-Aug-06 3:55 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Nibu babu thomas29-Aug-06 3:21
Nibu babu thomas29-Aug-06 3:21 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Marc Soleda29-Aug-06 3:33
Marc Soleda29-Aug-06 3:33 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
normanS30-Aug-06 1:02
normanS30-Aug-06 1:02 
QuestionDisable / Hide a list control Pin
RajiRaghu29-Aug-06 1:41
RajiRaghu29-Aug-06 1:41 
AnswerRe: Disable / Hide a list control Pin
Hamid Taebi29-Aug-06 1:50
professionalHamid Taebi29-Aug-06 1:50 
AnswerRe: Disable / Hide a list control Pin
Nibu babu thomas29-Aug-06 3:27
Nibu babu thomas29-Aug-06 3:27 
RajiRaghu wrote:
How to Hide / Disable a list control while processing / adding items to the list control?


WhiteSky answered your question.

Have you tried SetRedraw which is meant for exactly these kind of problems. I guess you don't want your list control to flicker or look wierd when you insert items into.

So just before the lengthy process of insertion begins just call SetRedraw( FALSE ),
and after finishing with the process just call SetRedraw( TRUE ). Do call Invalidate on the list control to get it fully repainted.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

QuestionHave a problem with CFileDialog [modified] Pin
m1m229-Aug-06 1:11
m1m229-Aug-06 1:11 
AnswerRe: Have a problem with CFileDialog Pin
Rage29-Aug-06 1:34
professionalRage29-Aug-06 1:34 
AnswerRe: Have a problem with CFileDialog Pin
m1m229-Aug-06 3:17
m1m229-Aug-06 3:17 
AnswerRe: Have a problem with CFileDialog Pin
David Crow29-Aug-06 3:52
David Crow29-Aug-06 3:52 
Questionhow to multiply mx n matrix to nx1 matrix Pin
raj_2nice4u29-Aug-06 0:53
raj_2nice4u29-Aug-06 0:53 
AnswerRe: how to multiply mx n matrix to nx1 matrix Pin
David Crow29-Aug-06 4:21
David Crow29-Aug-06 4:21 
AnswerRe: how to multiply mx n matrix to nx1 matrix Pin
El Corazon29-Aug-06 4:45
El Corazon29-Aug-06 4:45 
QuestionWhole Operating system is getting hanged. Pin
chakor12328-Aug-06 23:40
chakor12328-Aug-06 23:40 
AnswerRe: Whole Operating system is getting hanged. Pin
Waldermort29-Aug-06 0:05
Waldermort29-Aug-06 0:05 
AnswerRe: Whole Operating system is getting hanged. Pin
toxcct29-Aug-06 0:07
toxcct29-Aug-06 0:07 
AnswerRe: Whole Operating system is getting hanged. Pin
chakor12329-Aug-06 0:40
chakor12329-Aug-06 0:40 
QuestionRe: Whole Operating system is getting hanged. Pin
chakor12329-Aug-06 0:42
chakor12329-Aug-06 0:42 
AnswerRe: Whole Operating system is getting hanged. Pin
Rage29-Aug-06 1:30
professionalRage29-Aug-06 1:30 
GeneralRe: Whole Operating system is getting hanged. Pin
toxcct29-Aug-06 2:19
toxcct29-Aug-06 2:19 
GeneralRe: Whole Operating system is getting hanged. Pin
Rage29-Aug-06 2:23
professionalRage29-Aug-06 2:23 
AnswerRe: Whole Operating system is getting hanged. Pin
Hamid Taebi30-Aug-06 7:54
professionalHamid Taebi30-Aug-06 7:54 
QuestionNetValidateName() Issue?? Pin
Programm3r28-Aug-06 22:52
Programm3r28-Aug-06 22:52 

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.