Partager via


StaticControlType (Windows Embedded CE 6.0)

1/6/2010

This enumeration provides values that describe the static control type.

Syntax

enum StaticControlType {
  sctLeft = SS_LEFT,
  sctCenter = SS_CENTER,
  sctRight = SS_RIGHT,
  sctIcon = SS_ICON,
  sctLeftNoWordWrap = SS_LEFTNOWORDWRAP,
  sctBitmap = SS_BITMAP,
  sctIconCenter = SS_ICON,
  sctBitmapCenter = SS_BITMAP 
};

Elements

  • sctLeft
    Static control consists of left-aligned text.
  • sctCenter
    Static control consists of center-aligned text.
  • sctRight
    Static control consists of right-aligned text.
  • sctIcon
    Static control consists of an icon.
  • sctLeftNoWordWrap
    Static control consists of left-aligned text with no word wrap.
  • sctBitmap
    Static control consists of a bitmap.
  • sctCenterImage
    Static control consists of a centered image.
  • sctIconCenter
    Static control consists of a centered icon.
  • sctBitmapCenter
    Static control consists of a centered bitmap.

Requirements

Header statctlview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

GWES OS Enumerations
StaticControlView_t::DrawStaticImage
StaticControlView_t::DrawStaticText
StaticControlView_t::ResizeRectToImage