Non-Clipped Panel

What is the best technique for making a standard WinForms Panel to draw outside of it''s parent Form without being clipped by the parent form. What I''m referring to is exactly how the menu''s work in VS.Net where part of the submenus are displayed outside of the main form if there is not room in the main form to display the submenu.

1 Reply

PR Praveen Ramesh April 8, 2004 01:18 PM UTC

Carlo, You cannot draw a Panel outside it''s Form. The menus are not a children of the Form (where it displays) which is why it can show outside the form. If you have to implement a menu like window, you will have to start with a top-level form without borders. -Praveen Syncfusion, Inc.

Loader.
Up arrow icon