\ File: Tooltip.f \ Author: Jeff Kelm \ Created: 18-Nov-1998 \ Updated: 31-Dec-1998 \ a class for managing tooltips NEEDS BasicWin.f CR .( Loading Tooltip class...) \ I haven't played with this yet. \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \ \\\ A generic tooltip control class \ :Class Tooltip abs 0 TTM_ADDTOOL SendMessage: self ?WinError ;M :M SetText: ( lzString lpTOOLINFO) \ set new text for a previously defined tool SWAP OVER 9 CELLS + ! rel>abs 0 TTM_UPDATETIPTEXT SendMessage: self DROP ;M :M GetText: ( lpTOOLINFO -- lsString) \ get the current text for a tool DUP rel>abs 0 TTM_GETTEXT SendMessage: self DROP 9 CELLS + ;M ;Class