Tooltip Fails to Display - non-themed calendar |
Post Reply |
Author | |
Algae
Senior Member Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
Post Options
Thanks(0)
Posted: 09 May 2010 at 8:30pm |
Tooltips intermittently fail to display in non-themed calendar.
test 1 1. Open a calendar. 2. Do not apply a 2007 theme. 3. Create an event whose bounding rectangle encompasses all of the contents. 4. Tooltip will not display (custom or standard). test 2 1. Open a calendar. 2. Do not apply a 2007 theme. 3. Create an event whose bounding rectangle does not encompass all of the contents. 4. Tooltip will display (custom or standard). test 3 1. Open a calendar. 2. Do not apply a 2007 theme. 3. Create an event with a bounding rectangle of any size. 4. Resize the bounding rectangle. 5. Tooltip will display (custom or standard) .. but only the first time. 2007 theme works properly. Tooltip displays consistently regardless of event rectangle size. Regardless of whether the bounding rectangle is resized or not. VS2008, 13.3.1, Static Unicode, Windows 7 pro |
|
Algae
Senior Member Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
Post Options
Thanks(0)
|
The problem comes from a check for the tool tip custom format. This quick fix took care or it. I do not use the customformat4tooltip so whatever relies on that may be effected. In method: void CXTPCalendarViewEvent::OnMouseMove(UINT nFlags, CPoint point) Change this: BOOL bForceTooltip = !GetCalendarControl()->m_sCustomFormat4Tooltip.IsEmpty(); to this: BOOL bForceTooltip = TRUE; |
|
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 |