Hi, I'm writing some dragdrop implementation using the UltraExplorerBar and a UltraDayView.
When I'm dropping on the UltraDayView on the (graphical-) timeslot (e.g.) 8:00am - 8:14am, the GetTimeSlotFromPoint(e.X, e.Y) returns startTime 08:45am and endTime 08:59am
If there is already an appointment e.g. from 8:45am to 9:30am, GetAppointmentFromPoint doesn't return nothing (as there was no appointment from 8:00am to 08:14am) it returns the appointment from 8:45am to 9:30am.
What's going wrong here?
Thanks in advance,Marco
The first thing that comes to mind is that the point you are sending to the method is not expressed as relative to the control's coordinate system, i.e, the event you are handling is one fired by the form or some other control.
No, I used the UltraDayView1_DragDrop event. But as I mentioned above, UltraDayView1.PointToClient worked out.
Nethertheless, thanks for the fast suggestion. Marco