Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unknown missing library file Pin
esia5-May-07 19:20
esia5-May-07 19:20 
QuestionThread and ON_WM_TIMER Pin
CDRAIN2-May-07 7:47
CDRAIN2-May-07 7:47 
AnswerRe: Thread and ON_WM_TIMER Pin
led mike2-May-07 8:24
led mike2-May-07 8:24 
GeneralRe: Thread and ON_WM_TIMER Pin
CDRAIN2-May-07 11:22
CDRAIN2-May-07 11:22 
QuestionRe: Thread and ON_WM_TIMER Pin
David Crow2-May-07 9:06
David Crow2-May-07 9:06 
AnswerRe: Thread and ON_WM_TIMER Pin
CDRAIN2-May-07 11:18
CDRAIN2-May-07 11:18 
GeneralRe: Thread and ON_WM_TIMER Pin
David Crow3-May-07 2:46
David Crow3-May-07 2:46 
GeneralRe: Thread and ON_WM_TIMER Pin
led mike3-May-07 5:28
led mike3-May-07 5:28 
CDRAIN wrote:
the progress bar belong to the MainThread of my Application, and I need to manage it from my thread.


in your first post you said

CDRAIN wrote:
I need to manage a progressBar into MyThread class


I have no idea what to believe at this point. If your progress bar is in the main thread you DO NOT need to manage it from the worker thread. Instead you do something like this:

Progress Information Object

CWnd in main thread (Progress Bar or Window) has a reference to the Progress Information Object

CWinThread worker thread has a reference to the Progress Information Object and continuously updates the object to reflect the work in progress.

ProgressBar or Window sets a timer and on the timer event reads the progress information from the shared Progress Information Object and updates the ProgressBar state.


led mike

QuestionHow increase buffer size to read binary data and not damage performance Pin
yefimrz2-May-07 7:34
yefimrz2-May-07 7:34 
QuestionRe: How increase buffer size to read binary data and not damage performance Pin
Mark Salsbery2-May-07 9:19
Mark Salsbery2-May-07 9:19 
AnswerRe: How increase buffer size to read binary data and not damage performance Pin
yefimrz2-May-07 9:54
yefimrz2-May-07 9:54 
GeneralRe: How increase buffer size to read binary data and not damage performance Pin
Mark Salsbery2-May-07 10:20
Mark Salsbery2-May-07 10:20 
QuestionHow to use strcpy to modify char** ? Pin
Joe Smith IX2-May-07 7:24
Joe Smith IX2-May-07 7:24 
AnswerRe: How to use strcpy to modify char** ? Pin
Michael Dunn2-May-07 8:13
sitebuilderMichael Dunn2-May-07 8:13 
AnswerRe: How to use strcpy to modify char** ? Pin
Peter Weyzen2-May-07 8:38
Peter Weyzen2-May-07 8:38 
AnswerRe: How to use strcpy to modify char** ? Pin
toxcct2-May-07 9:22
toxcct2-May-07 9:22 
GeneralRe: How to use strcpy to modify char** ? Pin
Mark Salsbery2-May-07 9:33
Mark Salsbery2-May-07 9:33 
GeneralRe: How to use strcpy to modify char** ? Pin
Michael Dunn2-May-07 11:22
sitebuilderMichael Dunn2-May-07 11:22 
AnswerRe: How to use strcpy to modify char** ? Pin
prasad_som2-May-07 18:33
prasad_som2-May-07 18:33 
QuestionMFC avi Brightness control Pin
YUANGE2-May-07 6:50
YUANGE2-May-07 6:50 
AnswerRe: MFC avi Brightness control Pin
Hamid_RT2-May-07 7:37
Hamid_RT2-May-07 7:37 
Questionsql string format Pin
hero19952-May-07 5:44
hero19952-May-07 5:44 
AnswerRe: sql string format Pin
James R. Twine2-May-07 5:59
James R. Twine2-May-07 5:59 
AnswerRe: sql string format Pin
Hamid_RT2-May-07 7:29
Hamid_RT2-May-07 7:29 
QuestionAFX_MANAGE_STATE Usage? Pin
rajandpayal2-May-07 4:37
rajandpayal2-May-07 4:37 

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.