RotStatic

Homepage: A bevelline with horizontal and vertical text

nRC := DllCall("AHKCtrlSupport\CreateRotStatic", Str, "RotStatic", int, nStyle, int, x, int, y, int, width, int, height, DWORD, HWND, int, nID, "Cdecl Int")
Str "Text" Text you want to be displayed
nStyle 0=DT_LEFT: Show text left justified
1=DT_CENTER: Show text centered
2=DR_RIGHT: Show text right justified
x, y top left coordinates on the dialog
Width, Height Width and Height of the control
ID Id of the new control




Example
; --------------- Rot-Static senkrecht ---------------------------
; ----------------------------------------------------------------
x = 160
y = 20
width = 20
height = 100
nStyle = 0 ; DT_LEFT = 0 DT_CENTER = 1 DT_RIGHT = 2
nID = 3
nRC := DllCall("AHKCtrlSupport\CreateRotStatic", Str, "RotStatic", int, nStyle, int, x, int, y, int, width, int, height, DWORD, HWND, int, nID, "Cdecl Int")
if (errorlevel <> 0) || (nRC = 0)
{
	MsgBox error while calling CreateRotStatic Errorlevel: %errorlevel% - RC: %nRC%
	return
}
; --------------- Rot-Static waagrecht ---------------------------
; ----------------------------------------------------------------
x = 160
y = 130
width = 90
height = 20
nID = 4

nRC := DllCall("AHKCtrlSupport\CreateRotStatic", Str, "RotStatic", int, nStyle, int, x, int, y, int, width, int, height, DWORD, HWND, int, nID, "Cdecl Int")
if (errorlevel <> 0) || (nRC = 0)
{
	MsgBox error while calling CreateRotStatic Errorlevel: %errorlevel% - RC: %nRC%
	return
}
; --------------- Rot-Static senkrecht reverse--------------------
; ----------------------------------------------------------------
x = 250
y = 20
width = 20
height = 120
nID = 5

nRC := DllCall("AHKCtrlSupport\CreateRotStatic", Str, "~RotStatic", int, nStyle, int, x, int, y, int, width, int, height, DWORD, HWND, int, nID, "Cdecl Int")
if (errorlevel <> 0) || (nRC = 0)
{
	MsgBox error while calling CreateRotStatic Errorlevel: %errorlevel% - RC: %nRC%
	return
}
; --------------- Rot-Static waagrecht reverse--------------------
; ----------------------------------------------------------------
x = 160
y = 20
width = 90
height = 20
nID = 6
nStyle = 1

nRC := DllCall("AHKCtrlSupport\CreateRotStatic", Str, "~RotStatic", int, nStyle, int, x, int, y, int, width, int, height, DWORD, HWND, int, nID, "Cdecl Int")
if (errorlevel <> 0) || (nRC = 0)
{
	MsgBox error while calling CreateRotStatic Errorlevel: %errorlevel% - RC: %nRC%
	return
}