The SB_GETBORDERS message retrieves the current widths of the horizontal and vertical borders of a status window.
SB_GETBORDERS wParam = 0; lParam = (LPARAM) (LPINT) aBorders;
If the operation succeeds, the return value is TRUE.
If the operation fails, the return value is FALSE.
The borders determine the spacing between the outside edge of the window and the rectangles within the window that contain text. The borders also determine the spacing between rectangles.