BCGControlBar Pro for MFC
CBCGPWinUITiles

Detailed Description

The CBCGPWinUITiles class implements a Windows UI Tiles-like control with the following features:

  • Square and wide tiles
  • Tile groups.
  • Rectangular or rounded tile shapes.
  • Horizontal ("Landscape") or vertical ("Portrait") layouts.
  • Tile headers and multi-line texts.
  • Tile images.
  • Numeric and iconic badge support.
  • "Live" tiles.
  • Custom colors and brushes.
  • Custom tiles.
  • OS-undependable: since our implementation just emulates Windows 8 Win style Tiles, you can use our Windows UI Tiles control under all supported operating systems.

The Windows UI Tiles control is suitable for the wide range of user interfaces such as application start page, activity monitor and many others.

+ Inheritance diagram for CBCGPWinUITiles:

Public Member Functions

 CBCGPWinUITilesConstructs CBCGPWinUITiles object
 
 AddAdds a new tile to the control
 
 AddCaptionButtonAdds a new caption button to the control.
 
 EnableIconsScaleByDPIEnables the icons scale by DPI.
 
 EnableNavigationBackButtonEnables the navigation "Back" button.
 
 EnableTilesDragAndDropEnables the tiles drag and drop.
 
 EnsureVisibleScrolls the control to make the specified tile visible.
 
 GetBorderBrushRetrieves a control's border brush
 
 GetCaptionReturns WinUI Tiles Caption
 
 GetCurrentViewGets a current view.
 
 GetCurSelGets a currently selected tile.
 
 GetFillBrushRetrieves a control's background brush
 
 GetGroupCaptionGets group caption by ID.
 
 GetHorzMarginRetrieves a control's horizontal margin
 
 GetSquareSizeRetrieves a control's square size
 
 GetTextColorRetrieves a control's foreground color
 
 GetTilesListRetrieves a control's tile list
 
 GetVertMarginRetrieves a control's vertical margin
 
 IsHorizontalLayoutTells whether a control has a horizontal or vertical layout
 
 IsIconsScaleByDPIEnabledTells whether the icons scale by DPI is enabled.
 
 IsNavigationBackButtonEnabledTells whether a navigation "Back" button is enabled.
 
 IsRoundedShapesTells whether a control tiles have rounded shapes or not
 
 IsTilesDragAndDropEnabledTells whether the tiles drag and drop is enabled.
 
 IsVisualManagerThemeTells whether the control has Visual Manager theme.
 
 RemoveRemoves the tile.
 
 RemoveAllRemoves all tiles and caption buttons from the control
 
 RemoveCaptionButtonsRemoves all caption buttons from the controls.
 
 RemoveTilesRemoves all tiles from the control.
 
 SetBorderBrushSets a control border brush.
 
 SetCaptionSets a control caption
 
 SetCurSelSelects a specified tile.
 
 SetFillBrushSets a control background brush.
 
 SetGroupCaptionSets group caption.
 
 SetHorizontalLayoutSets a control layout
 
 SetHorzMarginSets a control horizontal margin
 
 SetRoundedShapesSets a control tile style: rectangular or rounded
 
 SetSquareSizeSets a control square (regular tile) size
 
 SetVertMarginSets a control vertical margin
 
 SetVisualManagerThemeSpecifies whether the control has a Visual Manager-based color theme.
 
- 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.
 
 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.