BOOL GetClientRect(HWND HandleFenetre, RECT *Rectangle);
#include <windows.h> #include <winbase.h> HWND HandleFenetre; RECT Rectangle; ... if (!GetClientRect(HandleFenetre, &Rectangle)) { ... } ...