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_LINE | Vertical line in the toolbar. Tooltip is not applicable to this id. |
TLB_TYPEFACE | Font typeface combobox |
TLB_POINTSIZE | Font pointsize combobox |
TLB_BOLD | Bold style |
TLB_ITALIC | Italic style |
TLB_ULINE | Underline style |
TLB_ALIGN_LEFT | Align left |
TLB_ALIGN_RIGHT | Align right |
TLB_ALIGN_CENTER | Paragraph centering |
TLB_ALIGN_JUSTIFY | Align both |
TLB_INC_INDENT | Increase paragraph indentation |
TLB_DEC_INDENT | Decrease paragraph indentation |
TLB_STYLE | Stylesheet item combobox |
TLB_ZOOM | Zoom combox |
TLB_CUT | Clipboard cut |
TLB_COPY | Clipboard copy |
TLB_PASTE | Clipboard paste |
TLB_SPACER | Space between toolbar icons |
TLB_NEW | File New |
TLB_OPEN | File Open |
TLB_SAVE | File Save |
TLB_PRINT | |
TLB_HELP | Help |
TLB_PAR | Show paragraph markers |
TLB_PREVIEW | Print preview |
TLB_NUMBER | Set paragraph numbering |
TLB_BULLET | Set paragraph bullet |
TLB_UNDO | Undo |
TLB_REDO | Redo |
TLB_FIND | Text search |
TLB_DATE | Insert a date field |
TLB_PAGE_NUM | Insert a page number field |
TLB_PAGE_COUNT | Insert a page count field |
TLB_PAINT_FORMAT | Format copy/paste |
TLB_BULLET_DROPDOWN | Bullet library drop down |
LPBYTE tooltip; | The new tooltip text. |
Return Value: This function returns TRUE when successful.