Bob Hairgrove
2004-10-26 20:47:02 UTC
There is a Windows API function called GetWindowInfo() which returns a
lot of useful information in a WINDOWINFO struct about any certain
window. Some of this information can also be retrieved individually,
but there is extremely little information about this struct and the
corresponding function in the latest documentation of the Platform
SDK.
Is there any advantage or disadvantage as to performance, for example
if I call GetClientRect() or GetWindowInfo(), since the client
rectangle is returned there as well? What about other parts such as
dwStyle and dwExStyle instead of calling GetWindowLong, etc.?
Thanks.
--
Bob Hairgrove
***@Home.com
lot of useful information in a WINDOWINFO struct about any certain
window. Some of this information can also be retrieved individually,
but there is extremely little information about this struct and the
corresponding function in the latest documentation of the Platform
SDK.
Is there any advantage or disadvantage as to performance, for example
if I call GetClientRect() or GetWindowInfo(), since the client
rectangle is returned there as well? What about other parts such as
dwStyle and dwExStyle instead of calling GetWindowLong, etc.?
Thanks.
--
Bob Hairgrove
***@Home.com