-
Notifications
You must be signed in to change notification settings - Fork 16
ModernUI_Checkbox Control
MUICheckboxRegister
Description: Registers the ModernUI_Checkbox class, which allows the control to be created via dialog resources or via CreateWindowEx and specifying the classname ModernUI_Checkbox. If using the RadASM custom class control instead of a the ModernUI RadASM Design Time Controls specify ModernUI_Checkbox as the classname.
Parameters: None
MUICheckboxCreate
Description: Creates a ModernUI_Checkbox control. Returns in eax the handle of the newly created control or NULL.
Parameters: hWndParent, lpszText, xpos, ypos, dwWidth, dwHeight, dwResourceID, dwStyle
MUICheckboxSetProperty
Description: Set a ModernUI_Checkbox 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: hModernUI_Checkbox, dwProperty, dwPropertyValue
MUICheckboxGetProperty
Description: Get a ModernUI_Checkbox 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: hModernUI_Checkbox, dwProperty
MUICheckboxGetState
Description: Gets the state of the ModernUI_Checkbox control, either as a checkbox or a radio button: selected or unselected.
Parameters: hModernUI_Checkbox
MUICheckboxSetState
Description: Sets the state of the ModernUI_Checkbox control, either as a checkbox or a radio button: selected or unselected.
Parameters: hModernUI_Checkbox, bState
MUICheckboxLoadImages
Description: Load checkbox or radio button images for specified states using resource ids provided.
Parameters: hModernUI_Checkbox, dwImageType, dwResIDImage, dwResIDImageAlt, dwResIDImageSel, dwResIDImageSelAlt, dwResIDImageDisabled, dwResIDImageDisabledSel
MUICheckboxSetImages
Description: Sets the checkbox or radio button images for specified states using handles from pre loaded images.
Parameters: hModernUI_Checkbox, dwImageType, hImage, hImageAlt, hImageSel, hImageSelAlt, hImageDisabled, hImageDisabledSel
-
MUICBS_CHECK- Checkbox style (detault) -
MUICBS_RADIO- Radio button style -
MUICBS_HAND- Show a hand instead of an arrow when mouse moves over checkbox. -
MUICBS_NOFOCUSRECT- Dont show focus rect, just use change border to@CheckboxTextColorAltwhen setfocus. -
MUICBS_THEMEDARK- For default icons, if not set default dark icons for light backgrounds, if set light icons for dark backgrounds -
MUICBS_THEME- Use default windows theme colors and react toWM_THEMECHANGED
-
@CheckboxTextFont- Font for checkbox text -
@CheckboxTextColor- Text color for checkbox -
@CheckboxTextColorAlt- Colorref -
@CheckboxTextColorSel- Colorref -
@CheckboxTextColorSelAlt- Colorref -
@CheckboxTextColorDisabled- Colorref -
@CheckboxBackColor- Colorref -
@CheckboxImageType- Checkbox Image Types - One of the following:MUICIT_NONE,MUICIT_BMP,MUICIT_ICOorMUICIT_PNG -
@CheckboxImage- hImage -
@CheckboxImageAlt- hImage -
@CheckboxImageSel- hImage -
@CheckboxImageSelAlt- hImage -
@CheckboxImageDisabled- hImage -
@CheckboxImageDisabledSel- hImage -
@CheckboxDllInstance- Set to hInstance of dll before callingMUICheckboxLoadImagesif used within a dll -
@CheckboxParam- Custom user data
Checkbox Image Types
-
MUICIT_NONE- No image type specified -
MUICIT_BMP- Bitmap -
MUICIT_ICO- Icon -
MUICIT_PNG- PNG