Defines the appearance of smart docking markers.
class CSmartDockingInfo : public CObject
Members
Public Constructors
| Name | Description | 
|---|---|
| CSmartDockingInfo::CSmartDockingInfo | Default constructor. | 
Public Methods
| Name | Description | 
|---|---|
| Copies the current smart docking info parameters into the provided CSmartDockingInfo object. | 
Data Members
| Name | Description | 
|---|---|
| Specifies whether to use the current theme color when the framework displays smart docking markers. | |
| Specifies the base background color of smart docking markers. | |
| Specifies the color that replaces m_clrToneSrc in smart docking marker bitmaps. | |
| Specifies the color of smart docking marker bitmaps. | |
| Specifies the color of smart docking marker bitmaps when they are transparent. | |
| Specifies the offset of the central group of smart docking markers from the boundaries of the central group rectangle. | |
| Specifies the total size of all smart docking markers in a group. | |
| Defines the resource IDs of the bitmaps that the framework uses for smart docking markers that are not highlighted. | |
| Defines the resource IDs of the bitmaps that the framework uses for smart docking markers that are highlighted. | 
Remarks
The framework handles smart docking markers internally. The following illustration shows the standard smart docking markers:
.png)
In this figure, the image on the left shows a central group smart docking marker that does not have docking to a tab enabled. The image in the middle shows a right edge smart docking marker. The image on the right shows a central group smart docking marker that does have docking to a tab enabled. The central group smart docking marker has a main bitmap and five smart docking marker bitmaps.
You can customize the following parameters of smart docking markers:
- Color. For example, you can replace the blue color of the markers in the figure with any user-defined color. 
- Transparency color. 
- Offset of a smart docking marker in the central group from the border of the bounding rectangle. 
- The main bitmap that represents the central group. 
- The bitmaps that represents the regular and highlighted smart docking markers. 
The following illustration shows an example of smart docking markers that have been customized:
.png)
Inheritance Hierarchy
Requirements
Header: afxDockingManager.h