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;
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.
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. |
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/23 23:39,
3.144.235.138:LOG IN
|
©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? <A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str13_7.htm"> PARAFORMAT</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.