please dont rip this site Prev Next

PARAFORMAT info  Overview  Group

The PARAFORMAT structure contains information about paragraph formatting attributes in a rich edit control. This structure is used with the EM_GETPARAFORMAT and EM_SETPARAFORMAT messages.

typedef struct _paraformat { 

    UINT cbSize; 

    _WPAD _wPad1; 

    DWORD dwMask; 

    WORD  wNumbering; 

    WORD  wReserved; 

    LONG  dxStartIndent; 

    LONG  dxRightIndent; 

    LONG  dxOffset; 

    WORD  wAlignment; 

    SHORT cTabCount; 

    LONG  rgxTabs[MAX_TAB_STOPS]; 

} PARAFORMAT; 

 

Members

cbSize
Size in bytes of this structure. Must be filled before passing to the rich edit control.
dwMask
Members containing valid information or attributes to set. This parameter can be zero or more of these values:

Value

Meaning

PFM_ALIGNMENT

The wAlignment member is valid.

PFM_NUMBERING

The wNumbering member is valid.

PFM_OFFSET

The dxOffset member is valid.

PFM_OFFSETINDENT

The dxStartIndent member is valid and specifies a relative value.

PFM_RIGHTINDENT

The dxRightIndent member is valid.

PFM_STARTINDENT

The dxStartIndent member is valid.

PFM_TABSTOPS

The cTabStobs and rgxTabStops members are valid.

If both PFM_STARTINDENT and PFM_OFFSETINDENT are specified, PFM_STARTINDENT takes precedence.

wNumbering
Value specifying numbering options. This member can be zero or PFN_BULLET.
dxStartIndent
Indentation of the first line in the paragraph. If the paragraph formatting is being set and PFM_OFFSETINDENT is specified, this member is treated as a relative value that is added to the starting indentation of each affected paragraph.
dxRightIndent
Size of the right indentation, relative to the right margin.
dxOffset
Indentation of the second line and subsequent lines, relative to the starting indentation. The first line is indented if this member is negative, or outdented is this member is positive.
wAlignment
Value specifying the paragraph alignment. This member can be one of the following values:

Value

Meaning

PFA_LEFT

Paragraphs are aligned with the left margin.

PFA_RIGHT

Paragraphs are aligned with the right margin.

PFA_CENTER

Paragraphs are centered.

cTabCount 
Number of tab stops.
rgxTabs
Array of absolute tab stop positions.

See Also

EM_GETPARAFORMAT, EM_SETPARAFORMAT

Questions:


file: /Techref/os/win/api/win32/struc/src/str13_7.htm, 5KB, , updated: 2008/9/22 10:31, local time: 2024/11/5 01:26,
TOP NEW HELP FIND: 
3.15.203.0:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/Techref/os/win/api/win32/struc/src/str13_7.htm"> PARAFORMAT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 
Quick, Easy and CHEAP! RCL-1 RS232 Level Converter in a DB9 backshell
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .