![]() |
1
1
你为什么说这显然不是? WM_PAINT 应调用部分重画(更新的rect由 BeginPaint 或 GetUpdateRect )如果它看起来没有被调用,应用程序中的其他地方可能有一个bug阻止了它。你看到什么让你相信它不起作用? |
![]() |
2
1
呼叫 GetUpdateRect() 获取一个限定要更新区域的矩形。此信息也包含在传递给的paintstruct(作为rcpaint字段)中 BeginPaint() . |
![]() |
3
0
函数的第二个参数beginpaint()返回需要验证的rect: http://msdn.microsoft.com/en-us/library/dd183362(VS.85).aspx
看看pspaint.rcpaint: http://msdn.microsoft.com/en-us/library/dd162768(VS.85).aspx |
![]() |
4
0
|
![]() |
5
0
看一看
|