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 11:31, local time: 2024/8/23 02:20,
3.145.188.135: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://piclist.com/tecHREF/os/win/api/win32/struc/src/str13_7.htm"> PARAFORMAT</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.