Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
oransen
in reply to: oransen

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!