-
Notifications
You must be signed in to change notification settings - Fork 16
ModernUI_Text Control
MUITextRegister
Description: Registers the ModernUI_Text class, which allows the control to be created via dialog resources or via CreateWindowEx and specifying the classname ModernUI_Text. If using the RadASM custom class control instead of a the ModernUI RadASM Design Time Controls specify ModernUI_Text as the classname.
Parameters: None
MUITextCreate
Description: Creates a ModernUI_Text control. Returns in eax the handle of the newly created control or NULL.
Parameters: hWndParent, lpszText, xpos, ypos, dwWidth, dwHeight, dwResourceID, dwStyle
MUITextSetProperty
Description: Set a ModernUI_Text property with a value, which is stored in the external properties structure. Properties are defined as equates and are actually offsets into the memory location used to store the properties.
Parameters: ModernUI_Text, dwProperty, dwPropertyValue
MUITextGetProperty
Description: Get a ModernUI_Text property from the external properties structure. Properties are defined as equates and are actually offsets into the memory location used to store the properties.
Parameters: ModernUI_Text, dwProperty
MUITextSetBufferSize
Description: Sets the internal buffer size used for max size of text
Parameters: ModernUI_Text, dwBufferSize
Font size [0000 0000 0000 XXXX]
-
MUITS_7PT- 7pt -
MUITS_8PT- 8pt -
MUITS_9PT- 9pt -
MUITS_10PT- 10pt -
MUITS_11PT- 11pt -
MUITS_12PT- 12pt -
MUITS_13PT- 13pt -
MUITS_14PT- 14pt -
MUITS_15PT- 15pt -
MUITS_16PT- 16pt -
MUITS_18PT- 18pt -
MUITS_20PT- 20pt -
MUITS_22PT- 22pt -
MUITS_24PT- 24pt -
MUITS_28PT- 28pt -
MUITS_32PT- 32pt
Font familty [0000 0000 0XXX 0000]
MUITS_FONT_DIALOG [0000 0000 0000 0000]MUITS_FONT_SEGOE [0000 0000 0001 0000]MUITS_FONT_TAHOMA [0000 0000 0010 0000]MUITS_FONT_ARIAL [0000 0000 0011 0000]MUITS_FONT_TIMES [0000 0000 0100 0000]MUITS_FONT_COURIER [0000 0000 0101 0000]MUITS_FONT_VERDANA [0000 0000 0110 0000]
Text alignment [0000 00XX 0000 0000]
MUITS_ALIGN_LEFT [0000 0000 0000 0000]MUITS_ALIGN_RIGHT [0000 0001 0000 0000]MUITS_ALIGN_CENTER [0000 0010 0000 0000]-
MUITS_ALIGN_JUSTIFY- same as align left
Font special [000X XX00 0000 0000]
MUITS_FONT_NORMAL [0000 0000 0000 0000]MUITS_FONT_BOLD [0000 0100 0000 0000]MUITS_FONT_ITALIC [0000 1000 0000 0000]MUITS_FONT_UNDERLINE [0001 0000 0000 0000]
Misc options [XXX0 0000 0000 0000]
MUITS_SINGLELINE [0010 0000 0000 0000]-
MUITS_HAND [0100 0000 0000 0000]- Show a hand instead of an arrow when mouse moves over text -
MUITS_LORUMIPSUM [1000 0000 0000 0000]- Show lorum ipsum in text box - for demo purposes etc. MUITS_UTF8-
MUITS_HTMLCODE- don't use withMUITS_BBCODEoption. -
MUITS_BBCODEdon't use withMUITS_HTMLCODEoption.
-
@TextFont- hFont -
@TextColor- -
@TextColorAlt- -
@TextColorDisabled- -
@TextBackColor- -1 = transparent -
@TextBackColorAlt- -
@TextBackColorDisabled-