###User Defined Function###
_GUICtrlRichEdit_GetCharAttributes

###Description###
Returns attributes of selected text

###Syntax###
#include <GuiRichEdit.au3>
_GUICtrlRichEdit_GetCharAttributes ( $hWnd )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the control
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a string consisting of three-character groups. Each group consists of:
	first and second character: any of:
		bo - bolded
		di - disabled - characters displayed with a shadow [nd]
		em - embossed [nd]
		hi - hidden, i.e. not displayed
		im - imprinted [nd]
		it - italcized
		li - EN_LINK messages are sent when mouse is over text with this attribute
		ou - outlined [nd]
		pr - EN_PROTECT sent when user attempts to modify
		re - marked as revised [nd]
		sh - shadowed [nd]
		sm - small capital letters [nd]
		st - struck out
		sb - subscript [nd]
		sp - superscript [nd]
		un - underlined
	third character: + for on, ~ for mixed
Failure:	"" and sets the @error flag to non-zero.
@error:	101 - $hWnd is not a handle
	-1 - no text is selected
@@End@@


###Remarks###
Some attributes do not display in a Rich Edit control; they are marked with [nd] above.

Returns "" if no attributes are on


###Related###
_GUICtrlRichEdit_SetCharAttributes


###See Also###
@@MsdnLink@@ EM_GETCHARFORMAT


###Example###
@@IncludeExample@@
