Re: [GD-Windows] edit control (or CEdit) when is the text drawn ?
Brought to you by:
vexxed72
From: <bwa...@bt...> - 2001-10-22 12:14:42
|
You wrote: >What message is send to the edit window when some text is selected ? I = have >try to catch the message with Spy++, but I don't understand why WM_PAINT= is >not called. You want to catch the EM_SETSEL message. (start in wParam, end in = lParam).=20 if start is -1 the selection is being removed. If end is -1 and start is = 0 then the whole edit control is being selected. HTH Benedict -- Reality is Insanity |