How do I create lines while dragging a menu item on a WinForm? C#

Posted by Bryan on Stack Overflow See other posts from Stack Overflow or by Bryan
Published on 2010-04-15T01:52:59Z Indexed on 2010/04/15 2:13 UTC
Read the original article Hit count: 334

Filed under:
|
|

I want to mimic the functionality of Google Chrome/FireFox for example, when rearranging your bookmarks, when you are dragging the menu item, it creates a line at the proposed drop point.

I've already implemented the Drag/Drop functionality to rearrange the menu, but I would like to add these separator lines as an additional feature.

Is there a way to do this within the .NET Framework (3.5) or shall I have to resort to Win32 api calls? Just wanted to ask before I went down that path.

© Stack Overflow or respective owner

Related posts about c#

Related posts about menuitem