... 2002. ... Try setting HKCU\Software\Microsoft\VisualStudio\7.1\Addins\Keymap.Connect\CommandPreloa d to 1 and restarting VS.NET. This will force the addin...
Does anybody know how to enable xp styles with a gui addin, I have tried several methods, such as manifest files and setting Application.EnableVisualStyles(); ...
Since the addin is hosted inside DEVENV, it's not its own application and therefore can't have a manifest file. I guess you would have to set the manifest on...
Hi folks, I perfectly know how to write an add-in to dynamically generate code, incorporate the generated code into a new file and add this file to the...
... You have to handle it in your QueryStatus method, which will be called for every one of your menu items every time the context menu is about to be shown....
... ProjectItem vs Project vs Solution is pretty much the granularity you get. If you want it only for a .cs file, you need to check for that in the ...
... you get. ... the ... OK, I can check perfectly for a certain file type (BTW, is there any better approach than comparing with the extension? E.g. for a...
Hi all Ok here is my code so far Dim Selection As TextSelection = CType(DTE.ActiveWindow.Selection, TextSelection) Dim SelectionPoint As TextPoint =...
Rory F. Becker
Rory.Becker@...
Nov 5, 2003 12:36 pm
1369
Have I maybe started from the wrong place? Rory ... http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/nhFolB/TM ... ...
Rory F. Becker
Rory.Becker@...
Nov 5, 2003 2:19 pm
1370
Hi Jeremy and all, I am using the shim control generated by the Extreme Simplicity tool and I have found a couple of problems. This post is for the first. The...
The second problem is that the Return (or Enter) key does not work. To reproduce it, add a button control to any usercontrol and add a MessageBox to its Click...
Carlos, I posted about the VK_RETURN and it does pass on the return key. However, I was using a RichTextBox and the KeyDown event. Basically I was not getting...
Hi All, I have an AddIn written using VS 2003. I have tried to use it with VS 2002 but get an 80131522 error. I believe that this is caused by an inconsistency...
Hi Vince, Yes, adding VK_RETURN to PreTranslateAccelerator makes to work the KeyDown event, but this does not solve the problem completely: - The root problem...
I forget where I got the information, but as far as I know, it is just not possible to compile an AddIn with VS 2003 and load it with VS 2002. Phil [Non-text...
... You cannot compile a managed addin in 2003 and have it load in 2002, since anything built in 2003 will bind to the 1.1 framework which is not supported by...
Thanks for your responses. I have looked into it and whilst it maybe possible by changing the manifest for devenv.exe to force it to use 1.0 for 1.1...
Another option that I have used in the past is to simply copy your classes from the 2003 solution into your 2002 solution/project. Vola. /z ... it ... a ... we...
Hello all, I've been browsing through the archives this morning trying to piece together a complete answer on docking my ToolWindow. Essentially, I see some...
Mathew, VS does remeber where a toolwindow was docked and should always appear where it last was (floating, AutoHidden, Docked). This is done by the using the...
Vince, Thanks. That was practical and enlightening - it gives me something to play and search further with. I'm now on a different problem: I've moved my...
Matthew, The Control floating away from the ToolWindow is caused because the ToolWindow is actually hidden (Not Visible) when the UserControl is added to the...
Vince, Thanks again! I'm using the shim directly off the MS site. So, how should I handle adding the control to the ToolWindow? Or, should I just switch to...
How can i tell if a document / text document is dirty. I know the Project object has a public dirty flag, but i havent found one for a document object. But i...