BCGControlBar Pro for MFC
CBCGPRotationObject

Detailed Description

Rotation object is derived from Radial menu and intended for 3D object (such as charts in 3D) views. This control is sending the following rotation notifications:

  • Rotate left
  • Rotate right
  • Rotate up
  • Rotate down
  • Widen field of view
  • Narrow field of view
  • Clockwise
  • Counter clockwise
  • Reset

Each control part can be enabled or disabled.

+ Inheritance diagram for CBCGPRotationObject:

Public Member Functions

 EnablePartEnables/disables rotation control item
 
 GetNotifyCommandIDRetrieves a control's command ID
 
 IsPartEnabledTells whether a specific rotation control item is enabled or not.
 
 SetNotifyCommandIDSets a control command ID
 
- Public Member Functions inherited from CBCGPRadialMenuObject
 CBCGPRadialMenuObjectConstructor
 
 AddCommandAdds a new command to the radial menu
 
 AddCommandAdds a new command to the radial menu
 
 AddCommandAdds a new command to the radial menu
 
 EnableCenterButtonShows or hides radial menu center button
 
 GetClickedGets index of the last clicked item
 
 HasCenterButtonDetermines whether the menu has a center button
 
 IsAutorepeatCommandModeDetermines whether a radial menu is working in autorepeat mode
 
 SetAutorepeatModeEnables/disables radial menu autorepeat mode
 
 SetColorsSets the radial menu colors
 
 SetColorThemeSets the radial menu color theme
 
 SetImageListSets a radial menu image list
 
- Public Member Functions inherited from CBCGPBaseVisualObject
 CBCGPBaseVisualObjectConstructor.
 
 CBCGPBaseVisualObjectCopy constructor.
 
 CopyToClipboardCopies visual object to the Clipboard.
 
 EnableImageCacheEnables or disables visual object image cache.
 
 ExportToBitmapExports the visual object to bitmap.
 
 ExportToFileExports the visual object to a file (BMP or PNG).
 
 ExportToImageExports the visual object to an image.
 
 GetDataGets an internal data object.
 
 GetDataAnimationTypeGets data animation type.
 
 GetDataCountReturns a number of data objects.
 
 GetEditFlagsGets editing flags.
 
 GetIDGets the object identifier.
 
 GetNameGets the object name.
 
 GetParentContainerGets the parent visual container.
 
 GetRectGets the object bounding rectangle.
 
 GetSelectedThemeObtain a currently selected visual theme.
 
 GetUserDataGets user-defined data associated with this object.
 
 GetValueGets the object value.
 
 IsAutoDestroyTells whether this object will be destroyed automatically.
 
 IsEditModeTells whether this object has the edit mode.
 
 IsEnabledTells whether the visual object is enabled.
 
 IsImageCacheTells whether image cache is enabled for this object.
 
 IsSelectedTells whether this object is selected in the parent container.
 
 IsVisibleTells whether the visual object is visible.
 
 RedrawRedraws this object.
 
 RedrawRectRedraws a specified rectangle.
 
 SelectVisualThemeSelect a visual theme created in Visual Designer.
 
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 
 SetDataAnimationTypeSets data animation type.
 
 SetDirtyInvalidates and redraws a visual object.
 
 SetEditFlagsSets editing flags.
 
 SetIDSets the object identifier.
 
 SetNameSets an object name.
 
 SetRectSets a new bounding rectangle.
 
 SetSelectedSelects or unselects the object in the parent container.
 
 SetUserDataSets user-defined data associated with this object.
 
 SetValueSets the object value.
 
 SetVisibleShows or hides the visual object.
 
- Public Member Functions inherited from CBCGPAnimationManager
 CBCGPAnimationManagerDefault constructor.
 
 GetAnimatedValueGets current animated value.
 
 GetAnimationDurationGets animation duration.
 
 GetLastAnimationErrorGets the animation error returned by recent call to Windows Animation API.
 
 IsAnimatedChecks if animation is running.
 
 StartAnimationStarts an animation.
 
 StartFlashAnimationStarts "flash" animation.
 
 StopAnimationStops an animation.
 

Additional Inherited Members

- Public Types inherited from CBCGPAnimationManager
enum  BCGPAnimationType
 
- Static Public Member Functions inherited from CBCGPAnimationManager
 IsAnimationSupportedByOSChecks if animation is supported by OS.
 
- Protected Member Functions inherited from CBCGPAnimationManager
 OnAnimationFinishedCalled by the framework when an animation is finished.
 
 OnAnimationIdleCalled by the framework in an animation idle time.