LabWindows/CVI Release Notes for Windows 22
©
National Instruments Corporation
New Panel Attributes
LabWindows/CVI 5.0 adds the following panel attributes:
Note When you use ATTR_SCALE_CONTENTS_ON_RESIZE and
ATTR_RESOLUTION_ADJUSTMENT to scale panels and controls, use
TrueTypefonts for optimal results.
New Control Attributes
LabWindows/CVI 5.0 adds the following control attributes:
New System Attribute
The ATTR_RESOLUTION_ADJUSTMENT system attribute specifies to what extent
LabWindows/CVI scales panels and their contents when displayed on screens with different
resolutions.
ATTR_SCALE_CONTENTS_ON_RESIZE LabWindows/CVI scales panel contents
when panel is resized
ATTR_MIN_HEIGHT_FOR_SCALING Smallest panel height for which
LabWindows/CVI allows scaling
ATTR_MIN_WIDTH_FOR_SCALING Smallest panel width for which
LabWindows/CVI allows scaling
ATTR_RESOLUTION_ADJUSTMENT Panel scaled when displayed on different
screen resolutions (read-only)
ATTR_HAS_TASKBAR_BUTTON Panel has its own taskbar button
ATTR_AUTO_SIZING Specifies whether LabWindows/CVI resizes
command button when text is changed; valid
values:
VAL_ALWAYS_AUTO_SIZE VAL_GROW_ONLY
VAL_NEVER_AUTO_SIZE
VAL_SHRINK_ONLY
ATTR_PLOT_AREA_LEFT Offset in pixels of the left edge of the plot area
from the left edge of the graph control
ATTR_PLOT_AREA_TOP Offset in pixels of the top of the plot area from
the top of the graph control
ATTR_PLOT_THICKNESS Thickness of the plot line, in pixels; applies
only when ATTR_LINE_STYLE is
VAL_SOLID; if ATTR_PLOT_STYLE is
ATTR_FAT_LINE or ATTR_FAT_STEP,
LabWindows/CVI draws the plot with three
times the thickness specified in this attribute