Partager via


StaticControlType

This enumeration provides values that describe the static control type.

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Statctlview.hpp.

See Also

StaticControlView_t::DrawStaticImage | StaticControlView_t::DrawStaticText | StaticControlView_t::ResizeRectToImage

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.