Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

custom html toolbox control with icon

$
0
0

Hi all,

I needed to create custom html control which supports drag and drop with html data.I found the link :

http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/88735b27-d386-4295-a06c-a239a0716b8a 

useful and implemented with the sample code:

Sub AddIFrameMacro()
        Dim tb As ToolBox
        tb = DTE.ToolWindows.ToolBox
        tb.ActiveTab.ToolBoxItems.Add("IFrame", "<iframe src=""http://www.microsoft.com"" />", vsToolBoxItemFormat.vsToolBoxItemFormatHTML)
    End Sub

Can anyone please let me know how I could add icon to the custom controls I create with the above code?

Are there any other ways where I can create a custom html control from vspackage. I found samples to implement custom wpf ,forms controls,servercontrol but not html control.

Please kindly let me know if anyone has any suggestions.


Abhiram




Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>