I am trying to post a message from a modal dialog running in a second thread back to the view window that is its parent in the primary thread. I post the message, but it nevers arrives in the view window. Post message returns success, but with Spy++ I never see it.

Is there something fatally wrong with this scheme? Why wouldnt this work?

thanks.