ContextMenuStrip for TopMost Form won't display over taskbar

  • Thread starter Thread starter Greg Bahns
  • Start date Start date
G

Greg Bahns

Hi,

I have an app with a Form whose TopMost property set to true so that it
display on top of everything else on the desktop, including the Windows
TaskBar. This form's ContextMenuStrip property is set so that when you
right-click the form, it displays this as the context menu. So far so good.

The problem is that when the form is close to the bottom of the screen, and
you right-click the bottom edge of the form, the context menu won't display
over the taskbar like the form does, so it ends up being displayed too high.
The taller the user's taskbar is, the worse the problem is.

I've tried a couple things to fix this, but no luck. Anyone know how to get
a ContextMenuStrip to display over the taskbar?

Thanks,
Greg
 
Back
Top