Correct return value of “WindowProc” in a Win32 application

前端 未结 2 1381
离开以前
离开以前 2021-01-12 12:35

In MSDN\'s Win32-Api documentation (at http://msdn.microsoft.com/en-us/library/ms633573%28VS.85%29.aspx) on the WindowProc, it states: The return value is t

2条回答
  •  清歌不尽
    2021-01-12 13:18

    Michael's answer answers the question perfectly, but just for reference, the usual return value will always be 0. For most messages it means that your application has processed the message. But always consult the MSDN page for the actual message to know for sure.

提交回复
热议问题