Hi!
On my application, a function is called by the PostThreadMessage. I want to step in (F11) but it doesn't work. Is there a way to do that?
Isabelle
Printable View
Hi!
On my application, a function is called by the PostThreadMessage. I want to step in (F11) but it doesn't work. Is there a way to do that?
Isabelle
Short answer.. No no way to step into a postmessage.. A postmessage as aposed to a sendmessage doesnt' wait around for the return value of the message.. it just sticks the message in a queue and let's you continue on your way..
The long answer is, While you can't step into your code from a post message... you can do an extensive text search.. Find out where that Message being posted it being caught and processed.. set a break point there, thus effectively stepping into it that way..
Hope this was helpful.. rate me..
Hi!
You can only try to locate the Message Pump of the receiving thread, and put a breakpint there.
Peter