例如:#define WM_PRODUCER WM_USER+1100对于WM_USER+1100处,到底是什么意思.
要加多少有规定的么?

解决方案 »

  1.   

    对于它的响应函数有没有做什么规定呢?
    就是说,函数的类型以及参数有没有规定?
    void,int,LRESULT什么都行么?
      

  2.   

    MFC7.0以上的要写成LRESULT Fun(WPARAM wParam, LPARAM lParam);这种形式的
      

  3.   

    The following are the ranges of message numbers. Range Meaning 
    0 through WM_USER–1 Messages reserved for use by the system. 
    WM_USER through 0x7FFF Integer messages for use by private window classes. 
    WM_APP through 0xBFFF Messages available for use by applications. 
    0xC000 through 0xFFFF String messages for use by applications. 
    Greater than 0xFFFF Reserved by the system.