Richard Russell
2010-05-16 09:11:06 UTC
Can anybody tell me in what version of Windows 'GetBoundsRect' was
first implemented? I'm pretty sure it was in Win16, but I'd like to
know exactly when it first appeared.
For those not familiar with it, GetBoundsRect is a very useful API.
It returns the rectangle that needs to be passed to InvalidateRect
after graphics are drawn, ultimately determining the rcPaint member of
PAINTSTRUCT. It thus frees the programmer from the chore of
calculating the rectangle himself. Even GDI+ drawing functions update
the bounding rectangle!
The reason for asking is that Wine, a well-known Open Source Windows
emulator (!), has never implemented GetBoundsRect. The longer it's
been in Windows, the stronger the argument that this omission is
unacceptable.
Richard.
http://www.rtrussell.co.uk/
first implemented? I'm pretty sure it was in Win16, but I'd like to
know exactly when it first appeared.
For those not familiar with it, GetBoundsRect is a very useful API.
It returns the rectangle that needs to be passed to InvalidateRect
after graphics are drawn, ultimately determining the rcPaint member of
PAINTSTRUCT. It thus frees the programmer from the chore of
calculating the rectangle himself. Even GDI+ drawing functions update
the bounding rectangle!
The reason for asking is that Wine, a well-known Open Source Windows
emulator (!), has never implemented GetBoundsRect. The longer it's
been in Windows, the stronger the argument that this omission is
unacceptable.
Richard.
http://www.rtrussell.co.uk/