dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.44k stars 988 forks source link

MFT_MENUBREAK or MFT_MENUBARBREAK flags for ContextMenuStrip #7818

Open LaraSQP opened 2 years ago

LaraSQP commented 2 years ago

Is your feature request related to a problem? Please describe

Unlike ContextMenu, ContextMenuStrip seems to be missing the MFT_MENUBREAK or MFT_MENUBARBREAK flags.

Please implement these.

Perhaps via ToolStripProfessionalRenderer?

Describe the solution you'd like and alternatives you've considered

As shown above.

Will this feature affect UI controls?

ContextMenuStrip

merriemcgaw commented 2 years ago

Can you show us what you'd like to accomplish here? We may already have some workarounds for you, otherwise this is something we would absolutely consider. But clarification in an image would be very helpful.

LaraSQP commented 2 years ago

Using MFC, it is possible to display multi-column context menus by means of the MFT_MENUBREAK and MFT_MENUBARBREAK flags.

Say:

vISd5xp-3950161544

screen_menubreak-1712060134

This feature could be just as useful with ContextMenuStrip.