ulMetric (ULONG)

      Metric value queried for.

      VSERR_INVALID_PARAMETERS

        An error occurred. The WinGetLastError function may return the following error:

          PMERR_INVALID_PARAMETERS.

        >= 0
          This value depends on the VMA_* attribute set in the param1 parameter.

          • If the VMA_ITEMSIZE attribute is set, the following is returned:

              usItemWidth (USHORT)

                Width of one value set item, in pixels.
              usItemHeight (USHORT)
                Height of one value set item, in pixels.
              
                If the VMA_ITEMSPACING attribute is set, the following is returned:

                usHorzItemSpacing (USHORT)

                  Amount of horizontal space allocated between each value set item, in pixels. This number does not include the space needed for selected-state and target emphasis, and for the selection cursor, because the emphasis and cursor space is automatically allocated by the value set control. The default space amount is 0.
                usVertItemSpacing (USHORT)
                  Amount of vertical space allocated between each value set item, in pixels. This number does not include the space needed for selected-state and target emphasis, and for the selection cursor, because the emphasis and cursor space is automatically allocated by the value set control. The default space amount is 0.


                [Back] [Next]