Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I get the version information about a DLL? Pin
geo_m27-Feb-05 7:46
geo_m27-Feb-05 7:46 
AnswerRe: How can I get the version information about a DLL? Pin
Ravi Bhavnani27-Feb-05 9:20
professionalRavi Bhavnani27-Feb-05 9:20 
QuestionCan two thread run the same thread function at the same time? Pin
tttyip27-Feb-05 6:37
tttyip27-Feb-05 6:37 
AnswerRe: Can two thread run the same thread function at the same time? Pin
Ravi Bhavnani27-Feb-05 6:56
professionalRavi Bhavnani27-Feb-05 6:56 
AnswerRe: Can two thread run the same thread function at the same time? Pin
geo_m27-Feb-05 7:51
geo_m27-Feb-05 7:51 
GeneralWhat's The Best Way... Pin
LighthouseJ27-Feb-05 3:15
LighthouseJ27-Feb-05 3:15 
GeneralRe: What's The Best Way... Pin
Blake Miller28-Feb-05 5:58
Blake Miller28-Feb-05 5:58 
GeneralRe: What's The Best Way... Pin
LighthouseJ1-Mar-05 11:11
LighthouseJ1-Mar-05 11:11 
I think I have an idea which is a combination of your solution and PJ Arjends'. I don't have an OnInitDialog function, I assume I need to override the CDialog function but I'm not sure how that's done, can you enligthen me? I'm relatively new to this stuff.

I do have a catch in my code:
CTransmitProgram transmitDlg(NULL, pPackage);<br />
if (transmitDlg.DoModal() != IDOK) {<br />
   if (AfxMessageBox(IDS_UNKNOWNSTATE, MB_YESNO | MB_ICONQUESTION) == IDYES) { return TransmitProgram(); }<br />
   return false;<br />
} else { return true; }


There's an OK and Cancel Button and OK button is disabled until all steps are completed. If anything happens except the OK button is pressed, it'll prompt the user and then try again, else OK was pressed meaning all steps were completed.

Thanks in advance, Nate.
GeneralRe: What's The Best Way... Pin
Blake Miller1-Mar-05 12:21
Blake Miller1-Mar-05 12:21 
GeneralRe: What's The Best Way... Pin
LighthouseJ1-Mar-05 14:47
LighthouseJ1-Mar-05 14:47 
GeneralRe: What's The Best Way... Pin
PJ Arends28-Feb-05 6:02
professionalPJ Arends28-Feb-05 6:02 
GeneralWinHTTP, error 12175, howto Pin
qdzhulf27-Feb-05 3:10
qdzhulf27-Feb-05 3:10 
GeneralRe: WinHTTP, error 12175, howto Pin
KitchenMaster26-Feb-09 12:02
KitchenMaster26-Feb-09 12:02 
QuestionHow to catch events? Pin
Roozbeh6926-Feb-05 20:13
professionalRoozbeh6926-Feb-05 20:13 
GeneralPDF format Pin
Chna26-Feb-05 18:58
Chna26-Feb-05 18:58 
GeneralWhen to draw the focus rectangle Pin
Ron Waller26-Feb-05 17:38
Ron Waller26-Feb-05 17:38 
GeneralRe: When to draw the focus rectangle Pin
Ravi Bhavnani27-Feb-05 5:55
professionalRavi Bhavnani27-Feb-05 5:55 
GeneralRe: When to draw the focus rectangle Pin
Michael Dunn27-Feb-05 7:04
sitebuilderMichael Dunn27-Feb-05 7:04 
Generalrandom number between.... Pin
Raylan26-Feb-05 16:20
Raylan26-Feb-05 16:20 
GeneralRe: random number between.... Pin
Ravi Bhavnani26-Feb-05 16:28
professionalRavi Bhavnani26-Feb-05 16:28 
GeneralRe: random number between.... Pin
Sheng Jiang 蒋晟27-Feb-05 9:39
Sheng Jiang 蒋晟27-Feb-05 9:39 
Generalcolor values for palettes Pin
nm_11426-Feb-05 14:10
nm_11426-Feb-05 14:10 
Generalint, read from text file Pin
jonavon blakly26-Feb-05 14:02
jonavon blakly26-Feb-05 14:02 
GeneralRe: int, read from text file Pin
Ravi Bhavnani26-Feb-05 14:11
professionalRavi Bhavnani26-Feb-05 14:11 
GeneralRe: int, read from text file Pin
uus9926-Feb-05 15:37
uus9926-Feb-05 15: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.