10-19-2021
01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-19-2021
01:06 AM
Thanks for that, I've got a bit further along, but my plugin is not loaded because of my call to
stdole.IPictureDisp okIconStandard = PictureDispConverter.ToIPictureDisp(new System.Drawing.Icon("PluginIcon.ico", new System.Drawing.Size(16, 16)));
stdole.IPictureDisp okIconLarge = PictureDispConverter.ToIPictureDisp(new System.Drawing.Icon("PluginIcon.ico", new System.Drawing.Size(32, 32)));
#if false
m_sampleButton = cmdMgr.ControlDefinitions.AddButtonDefinition("Command 1",
"Command 1",
CommandTypesEnum.kFilePropertyEditCmdType,
Guid.NewGuid().ToString(),
"Command 1 description",
"Command 1 Tooltip",
okIconStandard,okIconLarge);
#endif
AddButtonDefinition. If I don't make that call the plugin gets loaded.
We really need a working wizard for all this stuff!