|  | 
| No tooltip for single/multiday event | 
| Post Reply   | 
| Author | |
| rwfearnley   Groupie     Joined: 21 January 2004 Location: United Kingdom Status: Offline Points: 12 |  Post Options  Thanks(0)  Quote  Reply  Topic: No tooltip for single/multiday event Posted: 02 May 2008 at 7:40am | 
| If you use typically sized strings for event subjects, it essential that the use can view these via a tooltip for events represented by smaller blocks. However the calendar control does not show these (in day view) for any events that are one day or longer. These single/multiday events are put into the top section of the view and are usually relatively small blocks, so it seems even more important the subject can be viewed in a tooltip. They do show up in the week and monthly views, so this seems inconsistent. It also inconstant with the Outlook day view. The following code appears in CXTPCalendarViewEvent::OnMouseMove .... else if (hitInfo.uHitCode & xtpCalendarHitTestEventTextArea) {       bHideTooltip = !!(nFlags & MK_LBUTTON);       BOOL bShow = !IsMultidayEvent() || XTP_SAFE_GET2(pView, GetResources(), GetCount(), 0) > 1;       if (bShow && bIsNoDragging && !IsEditingSubject() && !pView->IsEditingSubject() &&             !IsShowingToolTip() && !(nFlags&MK_LBUTTON) && m_bTextOutOfBorders)       {             if (m_nTimerID_ShowToolTip == 0)             {                   UINT uTimeOut_ms = GetShowToolTipTimeOut();                   m_nTimerID_ShowToolTip = SetTimer(uTimeOut_ms);                   ASSERT(m_nTimerID_ShowToolTip);                   DBG_TRACE_TIMER(......);             }       } } The highlighted line stops the tooltip from appearing on any single/multiday event. I do not know what this test is trying to achieve, but it looks suspiciously like a bug to me. Thanks for your help | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  Posted: 10 July 2008 at 5:28pm | 
| 
   Hi, As for consistency -- I suppose the opposite. As far as I can see, Outlook doesn't show tooltips for multiday events. Actually that's the only reason of having this test there. Of course, it's up to you to remove it there at all and rebuild the library. That's why you do have a full source code  . However, if you think that the behavior there should be different -- please let me know why and what is correct. We may fix this for future releases. -- WBR, Serge | |
|  | |
| rwfearnley   Groupie     Joined: 21 January 2004 Location: United Kingdom Status: Offline Points: 12 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 July 2008 at 11:26am | 
| 
   You are not correct - Outlook 2007 always shows a tooltip for multiday events - so it's your code that is inconsistent. As I said, it's vital that it does this when the text does not fit so you can see the whole subject.
 We have already made the source patch you suggest to work around the problem, but it wouldbe much easier if you corrected the library. Sorry, but I still contend this is obvious bug as I cannot see any justication for not showing the tooltip. Thanks | |
|  | |
| AndreiM   Moderator Group     Joined: 18 August 2007 Status: Offline Points: 132 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 August 2008 at 2:44pm | 
| You right,  but I think this logic was created to repeat Outlook 2003 behavior.  We will fix this. | |
|  | |
| Marco1   Senior Member   Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |  Post Options  Thanks(0)  Quote  Reply  Posted: 13 May 2009 at 7:56pm | 
| 
   Unfortunately this still isn't fixed. Tooltips for AllDayEvents are not displayed. At least a configuration option would have been nice... | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 14 May 2009 at 6:56pm | 
| 
   It is fixed in 13.1
    | |
|  | |
| 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 |