天使漫步IT工作室天使漫步IT工作室

MFC中的invalidate()函数与WM_PAINT


Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 110

Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 116

windows为每个窗口维护一个无效区域,消息队列为空时,如果windows发现存在一个无效区域,就会放入一个WM_PAINT消息
若已经存在一个无效区域,则将新的无效区域与之合并。

 invalidate(); 
 invalidate(); 
 invalidate(); 

这样的代码最多产生一个MW_PAINT。

本站原创,欢迎转载,转载敬请标明出处:天使漫步IT工作室 » MFC中的invalidate()函数与WM_PAINT
添加新评论


Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /www/wwwroot/u11u.com/usr/themes/wq/comments.php on line 38