Share via


MenuView_t::ColumnComputeWidth (Windows Embedded CE 6.0)

1/6/2010

This method calculates the total width of the given menu column.

Syntax

static void ColumnComputeWidth(
  long& xColumn,
  long cxMaxString,
  long cxMaxAccel,
  long* pcxTotal,
  long* pxAccel
);

Parameters

  • xColumn
    [in, out] The location of the current column. On output, the value is updated to the position of the next column.
  • cxMaxString
    [in] The maximum width of a string in the column
  • cxMaxAccel
    [in] The maximum width of an accelerator in the column
  • pcxTotal
    [out] Pointer to a long that receives the total column width.
  • pxAccel
    [out] Point to a long that receives the location of the accelerator.

Requirements

Header menuview.hpp
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

MenuView_t