Selecting the driver

To configure the DragonFly in CCDCommander, you have to set it up here—in Options & Settings, on the Control/Device tab, set Dome/Roof Control to ASCOM Driver and press Configure. In the ASCOM Dome Chooser that opens, pick Seletek Dragonfly.

CCD Commander Options & Settings, Control/Device tab, with Dome/Roof Control set to ASCOM Driver and the ASCOM Dome Chooser showing Seletek Dragonfly selected
Control/Device tab: Dome/Roof Control set to the ASCOM driver, with «Seletek Dragonfly» chosen

Dome/Roof options

Then there are these options—parking the mount is usually convenient.

CCD Commander Options & Settings, Dome/Roof tab, showing Uncouple the Dome during slews, Always Park Mount before Closing Dome/Roof and Halt on Dome Error
Dome/Roof tab—«Always Park Mount before Closing Dome/Roof» is usually the convenient choice

Roof access from the actions

… and in the actions you can access the roof with this specific action—Dome Control Action, where Open Slit and Close Slit open and close the roof.

CCD Commander Main Action Setup with the Dome Control Action dialog open and the Close Slit and Open Slit options highlighted
The Dome Control Action, with «Open Slit» / «Close Slit» for the roof