I'm having an odd issue with the Drag and Drop of buttons on a ToolStrip. I'm making a webbrowser and have a ToolStrip for adding bookmarks i.e Chrome.
I can drag my created ToolStrip buttons onto a Google Chrome document and when I drop them onto the page, it will navigate to the address stored in the Tag property. Also when I drag Google ToolStrip bookmark buttons onto my webbrowser control document the page will navigate. The issues is I cannot drag the buttons in my toolstrip onto the WebBrowser control.
Im using the AxShoDcVW.axWebBrowser and the code I'm using for the Drag and Drop is:
private void b_MouseDown(object sender, MouseEventArgs e)
ToolStripButton b = (ToolStripButton)sender;
b.DoDragDrop(b.Tag, DragDropEffects.Copy | DragDropEffects.Move);
Any help greatly appreciated
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)