# Function Reference

# _GUICtrlStatusBar_GetBordersVert

Retrieves the current width of the vertical border

#include <GuiStatusBar.au3>
_GUICtrlStatusBar_GetBordersVert ( $hWnd )

## Parameters

$hWnd | Handle to the control

## Return Value

Success: | the width of the vertical border.
Failure: | sets the @error flag to non-zero.

## Related

_GUICtrlStatusBar_GetBorders, _GUICtrlStatusBar_GetBordersHorz, _GUICtrlStatusBar_GetBordersRect

## Example

    #include "Extras\HelpFileInternals.au3"

    #include <GUIConstantsEx.au3>
    #include <GuiStatusBar.au3>

    Example()

    Func Example()
        ; Create GUI
        Local $hGUI = GUICreate("StatusBar Get Borders Vertical (v" & @AutoItVersion & ")", 450, 320, 100, 100)

        Local $hStatus = _GUICtrlStatusBar_Create($hGUI)
        Local $aParts[3] = [75, 150, -1]
        _GUICtrlStatusBar_SetParts($hStatus, $aParts)

        ; Create memo control
        _MemoCreate(2, 8, 444, 259)
        GUISetState(@SW_SHOW)

        ; Get border sizes
        _MemoWrite("Horizontal border width .: " & _GUICtrlStatusBar_GetBordersHorz($hStatus))
        _MemoWrite("Vertical border width ...: " & _GUICtrlStatusBar_GetBordersVert($hStatus))
        _MemoWrite("Width between rectangles : " & _GUICtrlStatusBar_GetBordersRect($hStatus))

        _MemoMsgBoxStatus("", -1, $hGUI) ; no more action, wait GUI for closing

        ; Loop until the user exits.
        Do
        Until GUIGetMsg() = $GUI_EVENT_CLOSE
        GUIDelete()
    EndFunc   ;==>Example