How to set a drag outline for menu bars, toolbars, and control bars being dragged during drag-and-drop operations?

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

In Prof-UIS classes for menu bars, toolbars and control bars there is a virtual method _IsShowContentWhenDragging(), which specifies in which way a dragged window is drawn. If the method returns true, it is completely redrawn when you are dragging it; otherwise only a drag outline is drawn.

For example, you can switch to a drag outline for a toolbar by overriding _IsShowContentWhenDragging() of the CExtToolControlBar class:

class CMyToolControlBar : public CExtToolControlBar
    virtual bool _IsShowContentWhenDragging() const
        return false;