Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The VIEWATTRIBUTESstructure sets mask values for the EM_SETVIEWATTRIBUTESmessage.

Syntax

typedef struct tagVIEWATTRIBUTES {
  UINT 
mask;
  UINT 
uView;
  UINT 
uZoom;
  UINT 
uPageStyle;
  UINT 
uInkLayer;
  BOOL 
fReserved;
} VIEWATTRIBUTES, *PVIEWATTRIBUTES;

Members

mask

This member contains one of the following values:

Constant Value

VIEWATTRIBUTE_ZOOM

0x01

VIEWATTRIBUTE_PAGESTYLE

0x02

VIEWATTRIBUTE_INKLAYER

0x04

VIEWATTRIBUTE_VIEW

0x08

Only the view attributes whose mask value is TRUE are set, the other view attributes are ignored.

uView

The view to change to.

uZoom

The zoom percent or level to change to.

uPageStyle

Sets the line style shown in view.

uInkLayer

Sets the ink layer in this view.

fReserved

Reserved; set to zero.

Requirements

Header richink.h
Library richink.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also