开发者

Does windows mobile broadcase a WM_CLOSE message?

开发者 https://www.devze.com 2022-12-28 01:22 出处:网络
I\'ve heard that Windows Mobile will broadcast a开发者_开发百科 WM_CLOSE message to all inactive (?) windows if system memory falls below a certain threshold.I think I\'m seeing this occur with my app

I've heard that Windows Mobile will broadcast a开发者_开发百科 WM_CLOSE message to all inactive (?) windows if system memory falls below a certain threshold. I think I'm seeing this occur with my app too. But I cannot find any documentation to confirm this. Anyone know about this? Or know where I can find doc on it?

Thanks for any help.


WM_HIBERNATE is the message that is sent to your app when system resources run low


Yes, the platform may send WM_CLOSE to your application if memory pressure is high. It will send a WM_HIBERNATE first, though. Here's some documentation on the process.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号