|
From: Baptiste L. <gai...@fr...> - 2003-05-14 19:55:48
|
I'm currently working on the add-in for vc7. It took me a while to get
started. The template code generated by the wizard is really bad (It stink
like hell ;-) ). Would you believe they used macro that did goto when a COM
function returned an error :-(.
What I have now is command register in a 'Refactoring' menu, and a
toolbar created. The icon for the toolbar are located in what is called a
'satellite dll' (a pure resource dll). The magic that update the registry
when the add-in is registered live in Connect::UpdateRegistry.
I have a working implementation of TextDocument for VC7 (its character
offset based, not line based). Also, VC7 provides an UndoContext that can be
used to undo multiple action in a single step (the cool things is that you
can give it a name that appears in the combo).
I'll tackle the command implementation soon.
Baptiste.
|