Is there a way to get the date under the cursor on the MonthCalendar control? I’d like to collect this on right click to pass into a dialog. Right clicking doesn’t seem to trigger it’s click event. I tried overloading the MouseDown event, but that didn’t seem to help either.
Share
Yes, MonthCalendar has its own context menu so the right-button click event is disabled. Surgery is required to re-enable it. Add a new class to your project and paste the code shown below. Compile. Drop the new control from the top of the toolbox onto your form.
You now have a RightClick event that you can subscribe. Something similar to this: