Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Creating an IDE-aware Add-In ??


Message #1 by "John Pirkey" <mailjohnny101@y...> on Wed, 7 Feb 2001 20:08:34 -0000
hello john,

While i cannot speak to the hot-key idea, you can place a picture/image on
the toolbar, leave it blank with no borders and place the button inside the
picture image (on top of)...now you have your button 'on the toolbar'

While i have never liked this type of 'fix', it works. :)

-----Original Message-----
From: John Pirkey [mailto:mailjohnny101@y...]
Sent: Wednesday, February 07, 2001 3:09 PM
To: professional vb
Subject: [pro_vb] Creating an IDE-aware Add-In ??


Hello all.  I'm trying to create an Addin that acts as a custom
intellisense, so to speak.  Basically, we have a lot of structures in use
(code comments, udts, etc) and we want to be able to use a CTRL+SPACE -
like feature to bring up a custom form with the desired list of
structures.  We already have this form (which knows what we have selected
in the code window) and we can call it by going into the Add-Ins menu and
choosing it, but we REALLY want to be able to assign it a Hot-Key
(CTRL+SHFT+SPACE or something).  Our problem is that we can't get the
addin to accept any keystrokes without manually starting it first.  we
wouldn't mind having to start the add-in when we first bring up VB, but
then it needs to running, in "backround mode", until we hit the hot key
combo.  we just can't seem to keep this add-in running AND receive the
keystrokes from the other windows.

If this just simply can't be done, we'd settle for getting a button on the
toolbar and then just clicking the button, instead of going through the
menus.  i haven't found a way to get a button on the toolbar yet either. 
the documentation leaves more than a little to be desired.

any ideas are very welcome.

thanks,

john


John Pirkey
MCSD
www.stlvbug.org

  Return to Index