Click to See Complete Forum and Search --> : Tooltip on MsFlexGrid


Antri
August 16th, 2002, 12:12 PM
Please help me, I want to show a Tooltip when the User point the Cursor to a FlexGrid-ROW. If searched a lot by I haven't found....

So I tried and found out that I must use the <OnToolHitTest> MemberFunktion. The problem is, to fit the variables.

How can I get the Row, on which to Cursor points? How can I find the nID...
i

nt CMyFlexGrid::OnToolHitTest(CPoint point, TOOLINFO* pTI) const
{

pTI->hwnd = m_hWnd;
//
-->??? pTI->uId = ???????????????????????????;
pTI->lpszText = LPSTR_TEXTCALLBACK;
pTI->rect = rect;
return pTI->uId;

return CFlextable::OnToolHitTest(point, pTI);

Thank you for any help!