Previously we have used VBA to load our .NET custom docker into the CorelDRAW UI. This article will show how this may also be done using XSLT files, very similar to the example Hendrik provided in his Custom Docker article: Custom add-ons and dockers in CorelDRAW

The "Addons" Folder

You customizations will need to be in the Addons folder, for X6 64-bit that folder is found here: “C:\Program Files\Corel\CorelDRAW Graphics Suite...

In the previous blog post we showed an example of a custom WPF control that was hosted in the UI of CorelDRAW. In this post we are going to take a Custom Web Docker that Hendrik had provided as an example and rewrite it as a Custom WPF .NET Docker. If you have never made a custom docker his article is a wonderful place to start. You may find it here: Custom add-ons and dockers in CorelDRAW

With CorelDRAW X6 you can now create custom .NET controls that can be hosted in either a custom docker or the UI itself, including toolbars and menus. I will be doing a few posts on exactly how this is done. For this post we will build our own slider control that will change the line width of the selected shapes.

WPF User Control Library

I will be using Visual Studio 2010 Professional to create the custom control. Start a new project, Visual...

The good news in most macros from previous versions of CorelDRAW should work great. The one exception to this are macros that use WinAPI calls. All previous macros that use WinAPI calls will need to be updated for CorelDRAW X6 (64-bit). This is only for the 64-bit version, if you are using the 32-bit version of CorelDRAW, even on a 64-bit version of Windows everything should run as expected.