Posted on 2000-02-20
I'm programming a component to control a applications hint window. And thats no problem. But then i read something in the help file that i dont understand.
See THintInfo.CursorRect :
"The rectangle the user's mouse pointer must be in for the hint window to appear. The default value for CursorRect is the client rectangle of the control. Change this value so that a single control can be divided into several hint regions. When the user moves the mouse pointer outside the rectangle, the hint window disappears."
If it should be possible to "divide the control into several hint regions" it must also be possible to create several THintInfo records at create-time, right ??
That would be very useful - e.g. in a TStringGrid - to show different hint to the columns.
Today i'm using TApplication.OnShowHint to change the hint text.
Does anyone know or understand how to use/create additional THintInfo records ??