Re: EDIT woes
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Sat, 08 Dec 2007 06:40:39 +0100
Paul G. Tobey [eMVP] wrote:
I'm not sure about 1.
In the meantime I found out, that the missing caret is related, somehow, to the dynamic creation of the edit control. Once I let it create by the dialog, the caret is visible.
2) You have Auto H-Scroll style set for the control. Turn that off and characters won't be allowed out of the viewport.
I also found an workaround, based on EM_SETRECT, which is documented to limit the text display area *independently* from the control's client area. It also was necessary to set the control style to multi line, to make an change of the text rectangle effective.
DoDi
.
- Follow-Ups:
- Re: EDIT woes
- From: Paul G. Tobey [eMVP]
- Re: EDIT woes
- References:
- EDIT woes
- From: Hans-Peter Diettrich
- Re: EDIT woes
- From: Paul G. Tobey [eMVP]
- EDIT woes
- Prev by Date: Re: EDIT woes
- Next by Date: Re: Screen rotation
- Previous by thread: Re: EDIT woes
- Next by thread: Re: EDIT woes
- Index(es):
Loading