getmessage()当然没有转换了,不过这里不应该用getmessag(),应该用peekmessage

解决方案 »

  1.   

    这是从MFC生成码截下来的,你的意思是Getmessage(msg),TranslateMessage(msg)转换消息,DispatchMessage(&msg);把消息传送给应用程序,是吗???
    那MSDN中这句话如何解释:to be read the next time the thread calls the GetMessage or PeekMessage function. 
    究竟对于msg,TranslateMessage操作先,还是GetMessage();???
      

  2.   

    就是你先得到消息,然后转换消息,在dispatch他,就是这样一个过程,如果不然TranslateMessage()这个函数的参数你怎么办啊