Maybe it's a stupid question, but what is ECO_SAVESEL for? You can set this option with EM_SETOPTIONS (Rich-Edit-Control). But when I searched in the Win32.hlp I only found this:
Yeah, perfect but what is ES_SAVESEL for??
Marwin
[U][B]EM_SETOPTIONS[/B][/U]
Sets the options for a rich edit control.
wParam = (WPARAM) (UINT) fOperation;
lParam = (LPARAM) (UINT) fOptions;
[B]Parameters[/B]
[I]fOperation[/I]
....
[I]fOptions[/I]
....
[COLOR=burly-wood]ECO_SAVESEL Same as ES_SAVESEL [/COLOR]style.
[B]Return Values[/B]
....
Yeah, perfect but what is ES_SAVESEL for??
Marwin
search msdn: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cricheditctrl.3a3a.setoptions.asp
ECO_SAVESEL Preserves the selection when the control loses the focus. By default, the entire contents of the control are selected when it regains the focus.
ECO_SAVESEL Preserves the selection when the control loses the focus. By default, the entire contents of the control are selected when it regains the focus.
Ah, ok thank you!