Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. does ANYBODY ever written an addin in VS.NET /c++ ????????

does ANYBODY ever written an addin in VS.NET /c++ ????????

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestioncsharpc++visual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    schaereran gmx net
    wrote on last edited by
    #1

    seems, that nobody can help me :(( i have 3 main problems, i just cant solve, although they sound easy: 1. I cant change the icon of the addin button.(i always have the default button, a smiley) (sounds like a easy problem,he? TRY IT!!!,change it to a custom icon!) 2. I cant assign a default shortcut, i tried the following but it didnt worked(it compiles, but it does not assign the key) //in the onconnection method: SAFEARRAY arrSafe; arrSafe.fFeatures =FADF_BSTR; arrSafe.cbElements =35; //maby not necessary arrSafe.cDims = 1; //maby not necessary BSTR bstrShortCut =A2BSTR("Global::alt-s"); arrSafe.pvData = bstrShortCut; VARIANT var1; var1.vt = VT_ARRAY; var1.parray = &arrSafe; pCreatedCommand->put_Bindings(var1); 3. I would like to install my addins(the buttons) by default in a menu next to "Tools" which is called "MyAddins". how can i do this??? (i can manually make a new menu (Tools->customize,etc..) and then install my addin in there automatically (IfFailGoCheck(pCommandBars->get_Item(CComVariant(L"MyAddins"), &pMenuBarCommandBar), pMenuBarCommandBar); but i cant make this "MyAddins" Menue automatically by code!! THE FIRST DUDE, WHICH CAN HELP ME IN ANY OF THE 3 ISSUES (ISSUE 2. IS THE EASYEST, I GUESS) WILL BE NOMINATED FOR THE OFFICAL "ADDIN-MASTER OF THE YEAR AWARD":cool:

    O 1 Reply Last reply
    0
    • S schaereran gmx net

      seems, that nobody can help me :(( i have 3 main problems, i just cant solve, although they sound easy: 1. I cant change the icon of the addin button.(i always have the default button, a smiley) (sounds like a easy problem,he? TRY IT!!!,change it to a custom icon!) 2. I cant assign a default shortcut, i tried the following but it didnt worked(it compiles, but it does not assign the key) //in the onconnection method: SAFEARRAY arrSafe; arrSafe.fFeatures =FADF_BSTR; arrSafe.cbElements =35; //maby not necessary arrSafe.cDims = 1; //maby not necessary BSTR bstrShortCut =A2BSTR("Global::alt-s"); arrSafe.pvData = bstrShortCut; VARIANT var1; var1.vt = VT_ARRAY; var1.parray = &arrSafe; pCreatedCommand->put_Bindings(var1); 3. I would like to install my addins(the buttons) by default in a menu next to "Tools" which is called "MyAddins". how can i do this??? (i can manually make a new menu (Tools->customize,etc..) and then install my addin in there automatically (IfFailGoCheck(pCommandBars->get_Item(CComVariant(L"MyAddins"), &pMenuBarCommandBar), pMenuBarCommandBar); but i cant make this "MyAddins" Menue automatically by code!! THE FIRST DUDE, WHICH CAN HELP ME IN ANY OF THE 3 ISSUES (ISSUE 2. IS THE EASYEST, I GUESS) WILL BE NOMINATED FOR THE OFFICAL "ADDIN-MASTER OF THE YEAR AWARD":cool:

      O Offline
      O Offline
      Oleksandr Kucherenko
      wrote on last edited by
      #2

      Look at sources of published addo-on's on codeproject.... Code Teamplate Add-on can solve 2 issues to you... Also look at SmartHelp addon sources... many good ideas and finished classes ready to use... Good Luck Alex Kucherenko

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups