I’ve been learning C# lately, and I’m working on a context menu for a notifyicon. The context menu comes up just fine, but if the menu is too large to fit, it’ll spill over onto my monitor to the right.
How can I fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have found that I can re-create this problem as shown below:
The solution seems to be to change the RightToLeft property of the context menu to Yes (right click on the menu, click properties and then select RightToLeft from the properties pane), so my context menu now looks like so:
Hope this helps!