共用方式為


CDockingManager::SetSmartDockingParams

Sets the parameters that define the behavior of smart docking.

static void SetSmartDockingParams(
    CSmartDockingInfo& params
);

Parameters

  • [in, out] params
    Defines the parameters for smart docking.

Remarks

Call this method if you want to customize the appearance, color, or shape of the smart docking markers.

To use the default look for smart docking markers, pass an uninitialized instance of CSmartDockingInfo Class to params.

Requirements

Header: afxDockingManager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart