The ModernUI_RegionButton is a button control like the standard win32 button control, except it is an irregular shape, defined by polygons or premade regions. It provides ease of use and more customizable features, like color of background, border, and colors for when the mouse moves over the control, or the control is in a selected state, and can use a bitmap brush to paint a collection of ModernUI_RegionButton controls, for example for maps: country, county and/or state regions.
For the x64 version of the ModernUI_RegionButton control, visit here.
- Download the latest version of the ModernUI_RegionButton and extract the files. The latest release can be found in the Release folder, or via the releases section of this Github repository or can be downloaded directly from here.
- Copy the
ModernUI_RegionButton.incfile to your
masm32\includefolder (or wherever your includes are located)
- Copy the
ModernUI_RegionButton.libfile to your
masm32\libfolder (or wherever your libraries are located)
- Add the main ModernUI library to your project (if you haven't done so already):
include ModernUI.inc includelib ModernUI.lib
- Add the ModernUI_RegionButton control to your project:
include ModernUI_RegionButton.inc includelib ModernUI_RegionButton.lib
ModernUI_RegionButton API Help
Documentation is available for the ModernUI_RegionButton functions, styles and properties used by the control on the wiki: ModernUI_RegionButton Control
For maps and converting svg files to polygon points: