Click here to Skip to main content
16,017,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to control Controls' Enter Event? Pin
Peter, Chan1-Jun-07 0:15
Peter, Chan1-Jun-07 0:15 
AnswerRe: How to control Controls' Enter Event? Pin
Naveen1-Jun-07 1:04
Naveen1-Jun-07 1:04 
GeneralRe: How to control Controls' Enter Event? Pin
Peter, Chan3-Jun-07 17:05
Peter, Chan3-Jun-07 17:05 
GeneralRe: How to control Controls' Enter Event? Pin
Naveen3-Jun-07 18:06
Naveen3-Jun-07 18:06 
GeneralRe: How to control Controls' Enter Event? [modified] Pin
Peter, Chan3-Jun-07 19:55
Peter, Chan3-Jun-07 19:55 
GeneralRe: How to control Controls' Enter Event? Pin
Naveen6-Jun-07 21:37
Naveen6-Jun-07 21:37 
GeneralRe: How to control Controls' Enter Event? Pin
Peter, Chan6-Jun-07 21:46
Peter, Chan6-Jun-07 21:46 
QuestionRetrieve message arrival time Pin
JulienLemaitre1-Jun-07 0:02
JulienLemaitre1-Jun-07 0:02 
Hi Forum,

I need to retrieve the time at which a message was posted (or at least, when it was first handled by the Windows messaging system) in a Callback function set through MFC's MESSAGE_MAP.

Briefly:
- I have a library sending messages (but I have *no control* over that library, I must use it as it is);
- My class registers a callback for this kind of message through MFC's MESSAGE_MAP;
- This class would like to know when the message was posted.

I know the Windows' GetMessage() function gets a MSG struct with this information, but it's removed when sent to the callback :/
And since I use MFC, I can't call GetMessage() myself, can I ?

And as said above, I can't modify the library to add this information as a parameter (for example in the WPARAM, which is transmitted to the callback).

So, is there another way to retrieve the time of arrival of the messages my class is supposed to handle ?

Thanks a lot,
Julien
AnswerRe: Retrieve message arrival time Pin
Arman S.1-Jun-07 0:48
Arman S.1-Jun-07 0:48 
Questionproblem retrieving domain name [modified] Pin
Moonis Ahmed31-May-07 23:34
Moonis Ahmed31-May-07 23:34 
AnswerRe: problem retrieving domain name Pin
Arman S.31-May-07 23:56
Arman S.31-May-07 23:56 
GeneralRe: problem retrieving domain name Pin
Moonis Ahmed3-Jun-07 15:30
Moonis Ahmed3-Jun-07 15:30 
GeneralRe: problem retrieving domain name Pin
Naveen6-Jun-07 20:26
Naveen6-Jun-07 20:26 
GeneralRe: problem retrieving domain name Pin
Moonis Ahmed6-Jun-07 20:31
Moonis Ahmed6-Jun-07 20:31 
GeneralRe: problem retrieving domain name Pin
Naveen6-Jun-07 21:37
Naveen6-Jun-07 21:37 
AnswerRe: problem retrieving domain name Pin
Naveen31-May-07 23:56
Naveen31-May-07 23:56 
AnswerRe: problem retrieving domain name Pin
Rajkumar R31-May-07 23:59
Rajkumar R31-May-07 23:59 
Questiondll for loading bitmap Pin
jannathali31-May-07 23:29
jannathali31-May-07 23:29 
QuestionRe: dll for loading bitmap Pin
Mark Salsbery1-Jun-07 5:56
Mark Salsbery1-Jun-07 5:56 
QuestionRe: dll for loading bitmap Pin
Hamid_RT1-Jun-07 6:27
Hamid_RT1-Jun-07 6:27 
QuestionMemory sharing Pin
anilkrupakar31-May-07 23:22
anilkrupakar31-May-07 23:22 
AnswerRe: Memory sharing Pin
CPallini31-May-07 23:26
mveCPallini31-May-07 23:26 
QuestionHow to authorize a dll loading. Pin
BusaBird31-May-07 23:09
BusaBird31-May-07 23:09 
GeneralRe: How to authorize a dll loading. Pin
Jeffrey Walton1-Jun-07 7:27
Jeffrey Walton1-Jun-07 7:27 
AnswerRe: How to authorize a dll loading. [modified] Pin
Rajkumar R1-Jun-07 0:12
Rajkumar R1-Jun-07 0:12 

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.