Window text

Hi all!
Recently I've created a program in VC 5.0 wich uses a simple dialog at the begining which has a text region.The problem is that I often update this text(use it as a console) and every time I set the new text the cursor goes to the end of the text and becomes very annoying when I'm trying to see the begining part of the text.Does anyone know how to solve this problem?

Comments

  • : Hi all!
    : Recently I've created a program in VC 5.0 wich uses a simple dialog at the begining which has a text region.The problem is that I often update this text(use it as a console) and every time I set the new text the cursor goes to the end of the text and becomes very annoying when I'm trying to see the begining part of the text.Does anyone know how to solve this problem?
    :

    You control the caret with EM_SETSEL message - starting and ending position are the same.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion