Hello Everyone,
I am looking for a way to know when the user has right clicked on a blank spot in ultradayview or on an appointment. I must control the context of the context menu, using C# and WinForms.
I was hoping there was a before menu show method so I could perform a hit test, it appears that I must do this test on mouse down and then alter the context menu. However, I didn't see a HitTest method.
Thanks in advance.
My apologies, I believe I have found my solution with GetAppointmentFromPoint.
Kroleigh said:My apologies, I believe I have found my solution with GetAppointmentFromPoint.
You could also use the "CalendarInfo.SelectedAppointments" Collection
If me.CalInfo.SelectedAppointments.Count = 0 Then... Else... End If