WANALYZER_SCROLLBARS_SETTINGS structure |
|
The WANALYZER_SCROLLBARS_SETTINGS structure describes settings applied while rendering the scrollbars on the Waveform Analyzer. The current settings can be retrieved through the SettingsScrollbarsGet method and modified through the SettingsScrollbarsSet method.
Visual C++ definition
typedef struct
{
short nHeightInPixels;
long nType;
long nGraphicItemsMask;
short bVisibleTop;
short bVisibleBottom;
OLE_COLOR colorBackground;
OLE_COLOR colorThumb;
OLE_COLOR colorVisibleRange;
long nVisibleRangeType;
short nVisibleRangeTranspGlassFactor;
short nVisibleRangeLinesWidth;
short bReserved;
long nTransparentGlassType;
short nTransparentGlassPos3D;
short bTransparentGlassInvert3D;
} WANALYZER_SCROLLBARS_SETTINGS;
This data structure is defined inside the WavMmsEngDef.h header file which can be found inside the product's Include directory (default \Program Files\MultiMedia Soft\Active Waveform Analyzer\include).
Visual Basic definition
Public Type WANALYZER_SCROLLBARS_SETTINGS
nHeightInPixels as Integer
nType as enumWaveScrollbarType
nGraphicItemsMask as enumGraphicItemMaskValues
bVisibleTop as Boolean
bVisibleBottom as Boolean
colorBackground as OLE_COLOR
colorThumb as OLE_COLOR
colorVisibleRange as OLE_COLOR
nVisibleRangeType as enumScrollbarWaveVisibleRangeType
nVisibleRangeTranspGlassFactor as Integer
nVisibleRangeLinesWidth as Integer
bReserved as Boolean
nTransparentGlassType as enumTranspGlassType
nTransparentGlassPos3D as Integer
bTransparentGlassInvert3D as Boolean
End Type
This data structure is defined inside the AsoedDef.bas module file which can be found inside the product's Include directory (default \Program Files\MultiMedia Soft\Active Waveform Analyzer\include).
Member |
Description |
||||||||||||||||||
|
|
||||||||||||||||||
Height of the scrollbars in pixels. By default this value is set to 12. If the nType field below is set to WSCROLLBAR_TYPE_RECT, this field cannot be set to a value smaller than 6. If the nType field below is set to WSCROLLBAR_TYPE_WAVEFORM, this field cannot be set to a value smaller than 12. Eventual smaller values will be automatically capped to the nearest valid value. |
|||||||||||||||||||
Determines how the scrollbar is visualized. Supported values are the following:
On the screenshots below you can see that two different types of scrollbar; in both cases you can resize the visible range by dragging the provided handles with the left mouse button:
|
|||||||||||||||||||
Combination of values determining the mask of graphic items that must be drawn on the waveform scrollbar. By default this Supported values are the following:
|
|||||||||||||||||||
Boolean value that specifies if the top scrollbar is visible. Supported values are the following:
|
|||||||||||||||||||
Boolean value that specifies if the bottom scrollbar is visible.Supported values are the following:
|
|||||||||||||||||||
Color used for rendering the scrollbars background. |
|||||||||||||||||||
Color used for rendering the scrollbars thumb. |
|||||||||||||||||||
Color used for rendering inside the scrollbars the waveform background for visible range. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. |
|||||||||||||||||||
Determines how the visible range of the waveform is displayed. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM Supported values are the following:
|
|||||||||||||||||||
Transparent factor applied to the transparent glass. This value can range from 0 (total opacity) to 255 (total transparency) with a default value of 128. Values outside of this range will be automatically capped to the nearest valid value. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Width of lines in pixels. Cannot assume values smaller than 1. The default value is 2. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Reserved for future uses. |
|||||||||||||||||||
Type of transparent glass. Supported values are the following:
This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Position of the 3D effect for the transparent glass. This value can range from 0 to 100 with a default value of 50. Values outside of this range will be automatically capped to the nearest valid value. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Boolean value that specifies if the transparency of the 3D effect is inverted. Supported values are the following:
This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |