Click here to Skip to main content
16,015,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
first of all... not coding in OnDraw ();

code it in a separated function and in the OnDraw () do an evaluation of a flag. Something like:

if (bListRedraw)
UpdateListCtrl ();

in this UpdateListCtrl () funciont, the last line have to reset the flag (bListRedraw = FALSE).
in your methode of adding item, the last line have to set the flag (bListRedraw = TRUE).

I have sent you an email with some code that I used in one app. It deals with creation, initialitation and update of ListCtrl in a quite complex structure of Objcet derived elements and their datas.

Take a look, try to modify your code and ask if you dont understand something.

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?

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 
GeneralRe: How to decrease the CPU usage Pin
David Crow10-Sep-07 5:22
David Crow10-Sep-07 5:22 
GeneralRe: How to decrease the CPU usage Pin
Mark Salsbery10-Sep-07 6:07
Mark Salsbery10-Sep-07 6:07 
QuestionJava Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 2:40
maglev_tgv10-Sep-07 2:40 

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.