Assuming I know the handle and device context of a Window, is there an easy API for retreiving the length and width of that window? Thanks.
Printable View
Assuming I know the handle and device context of a Window, is there an easy API for retreiving the length and width of that window? Thanks.
GetWindowRect Function
The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
Thanks.