I have an HTMLCELLHOVER event
All is working, but if the htmlwindow is scrolled down the caclulated position is not correct.
At the calculated point I show another window.
Code: Select all
lpos = H_cell->GetAbsPos();
wxSize bibsy;
bibsy= m_bibf[count]->GetSize();
while (lpos.y > bibsy.GetY())
{
lpos.y = lpos.y - bibsy.GetY();
}
lpos.x = lpos.x + m_bibf[count]->GetScreenPosition().x;
lpos.y = lpos.y + m_bibf[count]->GetScreenPosition().y;