The PAINTDLGREGIONINFO structure contains information about the Region dialog.
Size of this structure.
User interface flags for the dialog. Determines the layout and action of the dialog. Possible values are:
Setting | Description |
---|---|
PAINT_DLG_REGION_SHOWALL | [0x00000001] Show all controls. |
PAINT_DLG_REGION_SHOWLOWERTOLERANCE | [0x00000002] Show Lower tolerance control. |
PAINT_DLG_REGION_SHOWUPPERTOLERANCE | [0x00000004] Show Upper tolerance control. |
PAINT_DLG_REGION_SHOWELLIPSEWIDTH | [0x00000008] Show Ellipse width control. |
PAINT_DLG_REGION_SHOWELLIPSEHEIGHT | [0x00000010] Show Ellipse height control. |
PAINT_DLG_REGION_SHOWDEFAULT | [0x00000020] Show Default control. |
PAINT_DLG_REGION_INITUSEDEFAULT | [0x00000040] Use the initial default values for the dialog control. |
Character string containing the Dialog box caption text.
COLORREF value that contains the amount of upper variance allowed from the selected color. Valid values are between 0 and 255. The values of R, G and B will be used to check the tolerance.
COLORREF value that contains the amount of lower variance allowed from the selected color. Valid values are between 0 and 255. The values of R, G and B will be used to check the tolerance.
Value indicating the width, in pixels, of the ellipse used to create a round rectangle region. Valid values are 0 to 500.
Value indicating the height, in pixels, of the ellipse used to create a round rectangle region. Valid values are 0 to 500.
An image of the Region dialog can be seen below.