Click here to Skip to main content
16,011,883 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEXE's ICON Pin
Eldon Zacek19-Jun-03 6:14
Eldon Zacek19-Jun-03 6:14 
GeneralRe: EXE's ICON Pin
Anonymous19-Jun-03 6:49
Anonymous19-Jun-03 6:49 
GeneralRe: EXE's ICON Pin
Anonymous19-Jun-03 6:51
Anonymous19-Jun-03 6:51 
GeneralRe: EXE's ICON Pin
Brian Delahunty19-Jun-03 7:22
Brian Delahunty19-Jun-03 7:22 
GeneralOnNewDocument Pin
doctorpi19-Jun-03 5:52
doctorpi19-Jun-03 5:52 
GeneralRe: OnNewDocument Pin
John M. Drescher19-Jun-03 6:01
John M. Drescher19-Jun-03 6:01 
GeneralRe: OnNewDocument Pin
doctorpi19-Jun-03 6:26
doctorpi19-Jun-03 6:26 
GeneralMFC with message map versus old method Pin
Member 14615719-Jun-03 4:35
Member 14615719-Jun-03 4:35 
I have a problem at the middle of my work. I don't want to restart from the beginning.

Right now, I am writting a software in C++ with MFC. I use the Message MAP builded by the Wizard. I don't want to tell what kind of software I do because it is confidential. This is a tool used on PC, which communicate with an embedded system.

I don't need a real time software, the time is not critical. We also want something friendly. That is why my interface is Window. At this time, everything work, for the futur, I see a problem.

The problem is the following:
-----------------------------
When a process is currently running (not finish), I want to exit from my function, do something else, and come back to see if I have the result of that process or exit if the timeout is elapsed. To do so, I need to Dispatch the Message
by myself like the old method with the Windows Procedure and the switch case with different messages. I know very well how to do it but now, I have a software with a message map. Bad or good decision, I am not sure at this time.

My solution is to restart a new project with old fashion and control all message with the switch case (no message map). I can also recuperate all my files.

Other problem, the old method use HANDLE, MFC doesn't.

Is there something I don't understand ????
Please, help !

OMG | :OMG:

Danny
GeneralRe: MFC with message map versus old method Pin
AlexO19-Jun-03 4:40
AlexO19-Jun-03 4:40 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher19-Jun-03 5:09
John M. Drescher19-Jun-03 5:09 
GeneralRe: MFC with message map versus old method Pin
Cambalindo19-Jun-03 5:49
Cambalindo19-Jun-03 5:49 
GeneralRe: MFC with message map versus old method Pin
Member 14615719-Jun-03 5:55
Member 14615719-Jun-03 5:55 
GeneralRe: MFC with message map versus old method Pin
Cambalindo19-Jun-03 6:08
Cambalindo19-Jun-03 6:08 
GeneralRe: MFC with message map versus old method Pin
basementman19-Jun-03 8:06
basementman19-Jun-03 8:06 
GeneralRe: MFC with message map versus old method Pin
Cambalindo19-Jun-03 9:54
Cambalindo19-Jun-03 9:54 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 5:28
John M. Drescher20-Jun-03 5:28 
GeneralRe: MFC with message map versus old method Pin
Cambalindo20-Jun-03 7:17
Cambalindo20-Jun-03 7:17 
GeneralRe: MFC with message map versus old method Pin
Cambalindo20-Jun-03 7:19
Cambalindo20-Jun-03 7:19 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 7:26
John M. Drescher20-Jun-03 7:26 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 5:20
John M. Drescher20-Jun-03 5:20 
Generalhelp in C++ Pin
Mark J Jackson19-Jun-03 4:29
Mark J Jackson19-Jun-03 4:29 
GeneralRe: help in C++ Pin
AlexO19-Jun-03 4:38
AlexO19-Jun-03 4:38 
GeneralRe: help in C++ Pin
David Crow19-Jun-03 10:19
David Crow19-Jun-03 10:19 
GeneralThread Pin
Gandilf19-Jun-03 4:09
Gandilf19-Jun-03 4:09 
GeneralRe: Thread Pin
AlexO19-Jun-03 4:18
AlexO19-Jun-03 4:18 

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.