Archived

This topic is now archived and is closed to further replies.

Ziyx

PeekMessage - Win32 VC++ 6.0

Recommended Posts

Anybody knows why when i''m using PeekMessage(&msg, hWnd, 0, 0, PM_REMOVE) for the message loop, msg.message will not be WM_QUIT but when using NULL in place of hWnd: PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) msg.message can be of value WM_QUIT

Share this post


Link to post
Share on other sites