TE Edit Control Win32 / Win64 Help
Product page

TerEditTooltip

Specify a new tooltip text.

int TerEditTooltip(hWnd, id, tooltip)
HWND hWnd;The handle of the window to be accessed
int id;The toolbar icon id. The following is a list of toolbar icon ids:
TLB_LINEVertical line in the toolbar. Tooltip is not applicable to this id.
TLB_TYPEFACEFont typeface combobox
TLB_POINTSIZEFont pointsize combobox
TLB_BOLDBold style
TLB_ITALICItalic style
TLB_ULINEUnderline style
TLB_ALIGN_LEFTAlign left
TLB_ALIGN_RIGHTAlign right
TLB_ALIGN_CENTERParagraph centering
TLB_ALIGN_JUSTIFYAlign both
TLB_INC_INDENTIncrease paragraph indentation
TLB_DEC_INDENTDecrease paragraph indentation
TLB_STYLEStylesheet item combobox
TLB_ZOOMZoom combox
TLB_CUTClipboard cut
TLB_COPYClipboard copy
TLB_PASTEClipboard paste
TLB_SPACERSpace between toolbar icons
TLB_NEWFile New
TLB_OPENFile Open
TLB_SAVEFile Save
TLB_PRINTPrint
TLB_HELPHelp
TLB_PARShow paragraph markers
TLB_PREVIEWPrint preview
TLB_NUMBERSet paragraph numbering
TLB_BULLETSet paragraph bullet
TLB_UNDOUndo
TLB_REDORedo
TLB_FINDText search
TLB_DATEInsert a date field
TLB_PAGE_NUMInsert a page number field
TLB_PAGE_COUNTInsert a page count field
TLB_PAINT_FORMATFormat copy/paste
TLB_BULLET_DROPDOWNBullet library drop down
LPBYTE tooltip;The new tooltip text.

Return Value: This function returns TRUE when successful.