Click to See Complete Forum and Search --> : Having caret remain visible


stuckhere90
October 2nd, 2005, 10:08 AM
Hi,

I have a program that consists of a form and a modeless dialog (which is a child of the form). The modeless dialog contains buttons that represent letters. When the user presses them, the letter(s) is/are displayed on the form. In short, it is kind of like a text editor, so a caret is displayed and I can place the caret (the flashing vertical I) between any previous text. When the letters are enter at the keyboard, the caret is visible; but when entered by the the modeless dialog, the caret is not visoble (until I give focus back to the form). So my question is: If the form does not have focus, is there a way to force the caret to become visible?

Thanks