Skip to content

ModernUI_ProgressBar Control

mrfearless edited this page Oct 23, 2018 · 3 revisions

ModernUI_ProgressBar Functions

MUIProgressBarRegister

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

Parameters: None

MUIProgressBarCreate

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

Parameters: hWndParent, xpos, ypos, dwWidth, dwHeight, dwResourceID, dwStyle

MUIProgressBarSetProperty

Description: Set a ModernUI_ProgressBar 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_ProgressBar, dwProperty, dwPropertyValue

MUIProgressBarGetProperty

Description: Get a ModernUI_ProgressBar 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_ProgressBar, dwProperty

MUIProgressBarSetMinMax

Description: Set the min and max range of the progress bar

Parameters: ModernUI_ProgressBar, dwMin, dwMax

MUIProgressBarSetPercent

Description: Set the current percentage of the progress bar

Parameters: ModernUI_ProgressBar, dwPercent

MUIProgressBarGetPercent

Description: Get the current percentage of the progress bar

Parameters: ModernUI_ProgressBar

MUIProgressBarStep

Description: Increment the progress bar by 1%

Parameters: ModernUI_ProgressBar

ModernUI_ProgressBar Styles

None

ModernUI_ProgressBar Properties

  • @ProgressBarTextColor - Text color
  • @ProgressBarTextFont - Font
  • @ProgressBarBackColor - Background color
  • @ProgressBarProgressColor - Progress color of the progress bar
  • @ProgressBarBorderColor - Border color of progress bar
  • @ProgressBarPercent - Current percent value
  • @ProgressBarMin - Min range
  • @ProgressBarMax - Max range
  • @ProgressBarStep - Step value

Clone this wiki locally