TerGetTextFieldInfo
Retrieve the information for a textbox input field.
BOOL TerGetTextFieldInfo(hWnd, id, data, MaxChars, width, typeface, TwipsSize, style)
HWND hWnd; | The handle of the window to be accessed |
int id; | Input field id to retrieve information. |
LPBYTE data; | The location to receive the current text data in the text box. |
LPINT MaxChars; | The location to receive the current maximum text length for the text box. |
LPINT width; | The location to receive the text box width in twips. |
LPBYTE typeface; | The location to receive the font typeface for the text in the text box. |
LPINT TwipsSize; | The location to receive the font typeface size in twips (20 twips = 1 point). |
LPINT style; | The location to receive the style information for the font: |
BOLD | Bold style |
ITALIC | Italic style |
ULINE | Underline style |
Return Value: This function returns TRUE when successful.