Share via


MenuView_t::SingleColumnComputeWidth (Windows Embedded CE 6.0)

1/6/2010

This method calculates the total width of a single menu column.

Syntax

static void SingleColumnComputeWidth(
  long cxMaxString,
  long cxMaxAccel,
  long* pcxTotal,
  long* pxAccel
);

Parameters

  • 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