Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - The GetItemText event does not fire with no focus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The GetItemText event does not fire with no focus

 Post Reply Post Reply
Author
Message
rgelb View Drop Down
Newbie
Newbie


Joined: 14 March 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote rgelb Quote  Post ReplyReply Direct Link To This Post Topic: The GetItemText event does not fire with no focus
    Posted: 08 May 2011 at 2:24pm
I have a VB6 app that uses the Calendar Control 11.2.2

I am trying to do custom tooltips.  To that end:

    MonthlyViewCal.EnableToolTips True
    MonthlyViewCal.AskItemTextFlags.SetFlag xtpCalendarItemText_EventToolTipText

then in event:

    Private Sub MonthlyViewCal_GetItemText(ByVal ItemParams As            XtremeCalendarControl.CalendarGetItemTextParams)
         If ItemParams.Item = xtpCalendarItemText_EventToolTipText Then
             ' build the tooltip here. 
         End If
    
    End Sub

This works as long as the control has focus.  But if it does not, the even won't even fire.  What can I do (short of the calendar control always having focus) to make it fire when it does not have focus?

Thanks.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.