Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Retrieve the length of an int Pin
CPallini3-Aug-07 4:42
mveCPallini3-Aug-07 4:42 
GeneralRe: Retrieve the length of an int Pin
Perspx3-Aug-07 4:46
Perspx3-Aug-07 4:46 
GeneralRe: Retrieve the length of an int Pin
dburns3-Aug-07 5:00
dburns3-Aug-07 5:00 
GeneralRe: Retrieve the length of an int Pin
Perspx3-Aug-07 5:02
Perspx3-Aug-07 5:02 
GeneralRe: Retrieve the length of an int Pin
Rage3-Aug-07 4:47
professionalRage3-Aug-07 4:47 
QuestionHack a modal dialog to not close? Pin
Jim @ JCT3-Aug-07 3:59
Jim @ JCT3-Aug-07 3:59 
AnswerRe: Hack a modal dialog to not close? Pin
Rage3-Aug-07 4:11
professionalRage3-Aug-07 4:11 
GeneralRe: Hack a modal dialog to not close? Pin
Jim @ JCT3-Aug-07 5:06
Jim @ JCT3-Aug-07 5:06 
Yeah, I'm pretty much resigned to that. Dagnabbit.

Thing is, it's a progress dialog that keeps the user informed of the progress of a worker thread, which means we have to allow Windows to run it's message pump to update the dialog. If it's modal this isn't a problem. What is the problem is that now we want to change it such that the worker thread may now run more than once. This again works OK except that the dialog pops down when the thread has finished only to pop up again moments later when the thread runs again.

It's not so much changing the dialog to be modeless it's more that I will have to change all the calling code to have to return to Windows to allow the message pump to run and then have a handler to pick up when the thread has finished. It means changing a lot of working code to fix a minor UI irritation. Damn. If a hack like I described were possible it save a lot of work.

Still, since posting it has occurred that I might be able to fix it by moving the loop to be inside the dialog.

Jim
QuestionHow recieve time from system time Pin
myshketer3-Aug-07 3:23
myshketer3-Aug-07 3:23 
QuestionRe: How recieve time from system time Pin
David Crow3-Aug-07 3:37
David Crow3-Aug-07 3:37 
AnswerRe: How recieve time from system time Pin
myshketer3-Aug-07 4:06
myshketer3-Aug-07 4:06 
QuestionRe: How recieve time from system time Pin
David Crow3-Aug-07 6:08
David Crow3-Aug-07 6:08 
AnswerRe: How recieve time from system time Pin
Rage3-Aug-07 4:15
professionalRage3-Aug-07 4:15 
QuestionApplication that makes EXE Pin
dacky3-Aug-07 2:36
dacky3-Aug-07 2:36 
AnswerRe: Application that makes EXE Pin
David Crow3-Aug-07 3:17
David Crow3-Aug-07 3:17 
AnswerRe: Application that makes EXE Pin
Hamid_RT3-Aug-07 3:37
Hamid_RT3-Aug-07 3:37 
GeneralRe: Application that makes EXE Pin
dacky5-Aug-07 19:24
dacky5-Aug-07 19:24 
GeneralRe: Application that makes EXE Pin
dacky5-Aug-07 19:25
dacky5-Aug-07 19:25 
GeneralRe: Application that makes EXE Pin
Hamid_RT5-Aug-07 19:46
Hamid_RT5-Aug-07 19:46 
AnswerRe: Application that makes EXE Pin
Iain Clarke, Warrior Programmer3-Aug-07 23:38
Iain Clarke, Warrior Programmer3-Aug-07 23:38 
GeneralRe: Application that makes EXE Pin
dacky5-Aug-07 19:08
dacky5-Aug-07 19:08 
QuestionMFC: Removing sunken border from a CFormview displayed in a CFrameWnd Pin
Sternocera3-Aug-07 0:46
Sternocera3-Aug-07 0:46 
AnswerRe: MFC: Removing sunken border from a CFormview displayed in a CFrameWnd Pin
#realJSOP3-Aug-07 0:53
professional#realJSOP3-Aug-07 0:53 
GeneralRe: MFC: Removing sunken border from a CFormview displayed in a CFrameWnd Pin
Sternocera3-Aug-07 1:24
Sternocera3-Aug-07 1:24 
GeneralRe: MFC: Removing sunken border from a CFormview displayed in a CFrameWnd Pin
Sternocera3-Aug-07 2:48
Sternocera3-Aug-07 2:48 

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.