Re: EDIT woes
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 10 Dec 2007 08:38:53 -0700
Weird. Thanks for posting back to the thread. No doubt this will come up
again at some point. I don't suppose that you're trying to show the edit
control in an ordinary window but trying to treat it as a dialog control
could be part of the problem, could it?
Paul T.
"Hans-Peter Diettrich" <DrDiettrich1@xxxxxxx> wrote in message
news:5rupn1F1696lsU3@xxxxxxxxxxxxxxxxxxxxx
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: Hans-Peter Diettrich
- Re: EDIT woes
- References:
- EDIT woes
- From: Hans-Peter Diettrich
- Re: EDIT woes
- From: Paul G. Tobey [eMVP]
- Re: EDIT woes
- From: Hans-Peter Diettrich
- EDIT woes
- Prev by Date: Re: Screen rotation
- Next by Date: Re: EDIT woes
- Previous by thread: Re: EDIT woes
- Next by thread: Re: EDIT woes
- Index(es):
Relevant Pages
|
Loading