Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
WorkSite Toolbar button
AlexYovenko
Hello
I have project that integrate inside context menu into WorkSite by implementing IMANEXTLib.ICommand, how can I add my button to WorkSite toolbar?
http://devnet.interwoven.com/forums_vb/attachment.php?attachmentid=5885&stc=1
Find more posts tagged with
Comments
AlexYovenko
Seems Bitmap property of ICommand interface must be set, to make toolbar icon visible, I try:
Assembly assem = Assembly.GetExecutingAssembly();
assem.GetManifestResourceStream("ResourceNameSpace.Image.bmp");
_Bitmap = new System.Drawing.Bitmap(stream);
But receive:
http://devnet.interwoven.com/forums_vb/attachment.php?attachmentid=5886&stc=1
Please advice what I am doing in wrong way.
AlexYovenko
issue resolved by sending pointer to Bitmap property:
Assembly assem = Assembly.GetExecutingAssembly();
stream = assem.GetManifestResourceStream("resourcenamespace.image.bmp");
_Bitmap = new System.Drawing.Bitmap(stream).GetHbitmap();
Migrateduser
Thanks, had wondered about this!