Problem with WM_ENDSESSION message

前端 未结 3 614
甜味超标
甜味超标 2021-01-15 05:08

I have a problem with WM_ENDSESSION message. Namely I would like to exit from the main loop of the application (WindowProc) when the WM_ENDSESSION

3条回答
  •  广开言路
    2021-01-15 05:50

    You don't need any special handling. Just call DefWindowProc instead of handling these messages.

提交回复
热议问题