visual-studiogui-designer

Integrating a custom gui framework with the VS designer


Imagine you homebrew a custom gui framework that doesn't use windows handles (compact framework, so please don't argue with "whys"). One of the main disadvantages of developing such a framework is that you lose compatability with the winform designer.

So my question is to all of you who know a lot about VS customisation, would there be a clever mechanism by which one could incorperate the gui framework into the designer and get it to spit out your custom code instead of the standard windows stuff in the InitialiseComponent() method?


Solution

  • I recently watched a video of these guys who built a WoW AddOn designer for Visual Studio.

    They overcame the task of getting their completely custom controls to render correctly in the designer. I'm not sure if this is exactly what you need, but might be worth looking at. It's open-source:

    http://www.codeplex.com/WarcraftAddOnStudio