Skip to content

ModernUI_ProgressDots Control

mrfearless edited this page Oct 23, 2018 · 3 revisions

ModernUI_ProgressDots Functions

MUIProgressDotsRegister

Description: Registers the ModernUI_ProgressDots class, which allows the control to be created via dialog resources or via CreateWindowEx and specifying the classname ModernUI_ProgressDots. If using the RadASM custom class control instead of a the ModernUI RadASM Design Time Controls specify ModernUI_ProgressDots as the classname.

Parameters: None

MUIProgressDotsCreate

Description: Creates a ModernUI_ProgressDots control. Returns in eax the handle of the newly created control or NULL.

Parameters: hWndParent, ypos, dwHeight, dwResourceID, dwStyle

MUIProgressDotsSetProperty

Description: Set a ModernUI_ProgressDots property with a value, which is stored in the external properties structure. Properties are defined as equates and are actually offsets into the memory location used to store the properties.

Parameters: ModernUI_ProgressDots, dwProperty, dwPropertyValue

MUIProgressDotsGetProperty

Description: Get a ModernUI_ProgressDots property from the external properties structure. Properties are defined as equates and are actually offsets into the memory location used to store the properties.

Parameters: ModernUI_ProgressDots, dwProperty

MUIProgressDotsAnimateStart

Description: Start the dot animation

Parameters: ModernUI_ProgressDots

MUIProgressDotsAnimateStop

Description: Stop the dot animation

Parameters: ModernUI_ProgressDots

ModernUI_ProgressDots Styles

None

ModernUI_ProgressDots Properties

  • @ProgressDotsBackColor - Background color of control
  • @ProgressDotsDotColor - Progress Dots color
  • @ProgressDotsShowInterval - Interval till dot starts showing, default is 16
  • @ProgressDotsTimeInterval - Milliseconds for timer, defaults to 10, higher will slow down animation of dots
  • @ProgressDotsSpeed - Speed for fast dots (before and after markers), default is 2. For adjusting xpos of dots. Middle portion is always xpos=xpos+1