Click here to Skip to main content
15,909,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProgress and Timer Pin
CDRAIN3-May-07 2:21
CDRAIN3-May-07 2:21 
AnswerRe: Progress and Timer Pin
CPallini3-May-07 2:31
mveCPallini3-May-07 2:31 
GeneralRe: Progress and Timer Pin
CDRAIN3-May-07 4:35
CDRAIN3-May-07 4:35 
GeneralRe: Progress and Timer Pin
CPallini3-May-07 4:46
mveCPallini3-May-07 4:46 
GeneralRe: Progress and Timer Pin
led mike3-May-07 5:34
led mike3-May-07 5:34 
GeneralRe: Progress and Timer Pin
CPallini3-May-07 5:44
mveCPallini3-May-07 5:44 
GeneralRe: Progress and Timer Pin
CDRAIN3-May-07 6:07
CDRAIN3-May-07 6:07 
GeneralRe: Progress and Timer Pin
Mark Salsbery3-May-07 7:56
Mark Salsbery3-May-07 7:56 
I'm totally lost (or you are Smile | :) ) (I've been following all the threads on this topic).

If your ActiveX control is busy processing stuff on the app's main thread, and your progress
dialog/control was created on that same thread, then the progress dlg/control cannot process
any window messages because your activex control has control of the thread so the thread's
message loop isn't being processed.

So, it seems to me you have two options -
1) Put the activeX control on another thread so the main thread can process window messages as
usual (it can also process your timer messages)
2) Put the progress dialog on a separate thread and process all it's messages, including timer
messages, on that thread. That way the ActiveX control can go about its business.

Both these have been recommended to you several times. Try one! Smile | :)

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Progress and Timer Pin
Roger Stoltz3-May-07 6:27
Roger Stoltz3-May-07 6:27 
GeneralRe: Progress and Timer Pin
CDRAIN3-May-07 7:14
CDRAIN3-May-07 7:14 
QuestionResizing GetOpenFilename Dialog Pin
StephenDone3-May-07 2:06
StephenDone3-May-07 2:06 
AnswerRe: Resizing GetOpenFilename Dialog Pin
CPallini3-May-07 2:18
mveCPallini3-May-07 2:18 
QuestionReg CFileDialog Resizing Default size Pin
fioskarthi3-May-07 1:33
fioskarthi3-May-07 1:33 
QuestionRe: Reg CFileDialog Resizing Default size Pin
Rajesh R Subramanian3-May-07 1:57
professionalRajesh R Subramanian3-May-07 1:57 
AnswerRe: Reg CFileDialog Resizing Default size Pin
toxcct3-May-07 2:36
toxcct3-May-07 2:36 
AnswerRe: Reg CFileDialog Resizing Default size Pin
David Crow3-May-07 3:06
David Crow3-May-07 3:06 
QuestionDesktop display Pin
Syamlal S Nair3-May-07 1:19
Syamlal S Nair3-May-07 1:19 
AnswerRe: Desktop display Pin
_AnsHUMAN_ 3-May-07 1:28
_AnsHUMAN_ 3-May-07 1:28 
GeneralRe: Desktop display Pin
Syamlal S Nair3-May-07 1:31
Syamlal S Nair3-May-07 1:31 
AnswerRe: Desktop display Pin
David Crow3-May-07 3:04
David Crow3-May-07 3:04 
GeneralRe: Desktop display Pin
Syamlal S Nair3-May-07 4:06
Syamlal S Nair3-May-07 4:06 
QuestionRe: Desktop display Pin
David Crow3-May-07 4:16
David Crow3-May-07 4:16 
AnswerRe: Desktop display Pin
Syamlal S Nair3-May-07 20:17
Syamlal S Nair3-May-07 20:17 
QuestionRe: Desktop display Pin
David Crow4-May-07 2:26
David Crow4-May-07 2:26 
AnswerRe: Desktop display Pin
Syamlal S Nair4-May-07 7:21
Syamlal S Nair4-May-07 7:21 

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.