﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2022	Cross set contants	Melba23		"The ''$DT_PATH_ELLIPSIS'' and ''$DT_END_ELLIPSIS'' constants are cross-set in ''WindowsConstants.au3'' as can be sen here:
{{{
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$sPath = ""C:\I am a very long path\Which needs to be\Shortened to fit\In the label.txt""

$hGUI = GUICreate(""Test"", 500, 500)

GUICtrlCreateLabel(""Using $DT_PATH_ELLIPSIS:"", 10, 10, 200, 20)
GUICtrlCreateLabel($sPath, 10, 40, 300, 30, $DT_PATH_ELLIPSIS)
GUICtrlSetBkColor(-1, 0xCCCCFF)
GUICtrlCreateLabel(""MSDN says:"" & @CRLF & _
				   ""'replaces characters in the middle of the string with ellipses so that the result fits in the specified rectangle'"", 10, 80, 480, 40)

GUICtrlCreateLabel(""Using $DT_END_ELLIPSIS:"", 10, 200, 200, 20)
GUICtrlCreateLabel($sPath, 10, 230, 300, 30, $DT_END_ELLIPSIS)
GUICtrlSetBkColor(-1, 0xCCFFCC)
GUICtrlCreateLabel(""MSDN says:"" & @CRLF & _
				   ""'if the end of a string does not fit in the rectangle, it is truncated and ellipses are added'"", 10, 270, 480, 40)

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
}}}
 
"	Bug	closed		AutoIt	3.3.6.1	None	No Bug		
