Is it possible to load toolbar images from resource file instad file from disk?
Now I did:
AcadToolbar tb = mainGroup.Toolbars.Add("MyToolbar"); tb.Visible = true; tb.Dock(AcToolbarDockStatus.acToolbarDockTop); AcadToolbarItem i1 = tb.AddToolbarButton(1, "Test", "TestButton", "\x1b\x1bTESTCMD "); i1.SetBitmaps(@"D:\Icons\BMP\test.bmp", @"D:\Icons\BMP\test.bmp");
I can't say that it's very useful. Is it possoble to load images from my plug-in DLL (resource file)?
I dont think it is possible to do this using the COM API, but this can be done using the CUI API.
I have attached a document and sample projects from a Devnote which is yet to be migrated to a Devblog post.
Hope it helps.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.