diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2005-07-20 15:21:49 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2005-07-20 15:21:49 +0400 |
commit | 006351e5617b3cb2c6155d6b7a746d8f20a0d31a (patch) | |
tree | 5814082ac755bb19201c08d5cfe6b0d363bbb680 /winsup/w32api | |
parent | 0eccec28cc616e0d72ff308db4c2a6efa26092d5 (diff) |
* include/richedit.h (SETTEXTEX): Define structure and
associated constants.
(GT_SELECTION): Define GETTEXTEX flag constant.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/richedit.h | 14 |
2 files changed, 18 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 7e308b07a..b69dfa748 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2005-07-20 Danny Smith <dannysmith@users.sourceforge.net> + + * include/richedit.h (SETTEXTEX): Define structure and + associated constants. + (GT_SELECTION): Define GETTEXTEX flag constant. + 2005-07-19 Danny Smith <dannysmith@users.sourceforge.net> * include/wingdi.h (SYSPAL_NOSTATIC256): Define. diff --git a/winsup/w32api/include/richedit.h b/winsup/w32api/include/richedit.h index b534a352c..8cb57e88e 100644 --- a/winsup/w32api/include/richedit.h +++ b/winsup/w32api/include/richedit.h @@ -257,8 +257,6 @@ extern "C" { #define TM_MULTILEVELUNDO 8 #define TM_SINGLECODEPAGE 16 #define TM_MULTICODEPAGE 32 -#define GT_DEFAULT 0 -#define GT_USECRLF 1 #define yHeightCharPtsMost 1638 #define lDefaultTab 720 @@ -478,6 +476,18 @@ typedef struct _gettextex { LPCSTR lpDefaultChar; LPBOOL lpUsedDefChar; } GETTEXTEX; +/* GETTEXTEX flags */ +#define GT_DEFAULT 0 +#define GT_USECRLF 1 +#define GT_SELECTION 2 +typedef struct _settextex { + DWORD flags; + UINT codepage; +} SETTEXTEX; +/* SETTEXTEX flags */ +#define ST_DEFAULT 0 +#define ST_KEEPUNDO 1 +#define ST_SELECTION 2 typedef LONG (*EDITWORDBREAKPROCEX)(char*,LONG,BYTE,INT); /* Defines for EM_SETTYPOGRAPHYOPTIONS */ #define TO_ADVANCEDTYPOGRAPHY 1 |