SBendBuckeye
Programmer
Hello all,
I am using a ContextMenuStrip and for one of the subitems I need to popup a little dialog form. I want the form to appear centered relative to the respective subitem and just to the right of the end of the subitem.
The subitem Owner property gets me the bounds of the ContextMenuStrip but I am having trouble positioning the popup form properly. Since it is unrelated to the underlying form, do I need to position it using screen coordinates insead?
The form is working as it should but it loses some of the wow factor if I can't position it properly. Any ideas and/or suggestions would be welcomed!
I am using a ContextMenuStrip and for one of the subitems I need to popup a little dialog form. I want the form to appear centered relative to the respective subitem and just to the right of the end of the subitem.
The subitem Owner property gets me the bounds of the ContextMenuStrip but I am having trouble positioning the popup form properly. Since it is unrelated to the underlying form, do I need to position it using screen coordinates insead?
The form is working as it should but it loses some of the wow factor if I can't position it properly. Any ideas and/or suggestions would be welcomed!