![]() |
CXTTipWindow bug |
Post Reply
|
| Author | |
hpesata
Groupie
Joined: 16 July 2004 Status: Offline Points: 60 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTTipWindow bugPosted: 24 February 2006 at 3:38am |
|
Hi!
XTP 9.70 I realized, that when a CXTTipWindow based tooltip window is to close to the screen border, the tooltip isnt always displayed if m_rectTipArea is used. m_rcScreenWindow gets modified in the case that the tooltip window is exceeding the screen area within InitializeSize() but m_rectTipArea remains the same. therefore the code within OnMouseMove() doesnt work correctly because point is relative to the modified position of the tipwindow and is used with the unmodified m_rectTipArea. Thats why the tooltip window gets hidden ALTOUGH the mouse cursor is within the tiparea: CXTTipWindow::OnMouseMove(UINT nFlags, CPoint point) { if (!m_rectTipArea.IsRectNull() && !m_rectTipArea.PtInRect(point)) HideTipWindow(); } I need a possibility to solve this and would appreciate any commentd on how to fix this problem! regards, Hans |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |