*insert curse here*

A

Andreas Zita

Hi

I have a simple app where the user is prompted with a password dialog. When
the password is being entered, the cursor is hidden as I assume is default
XP behavior. The problem is when the user closes the dialog pressing the
enter key (without any mouse movements done) the cursor will only reappear
again when a mouse button has been clicked, not only by mouse movements.

I have tried putting a Application.DoEvents() after the dialog closes but
that only solves the problem when the cursor is located above the parent
form. If the cursor is outside, it still won't reappear when moved back over
the form.

Any known reason for this?

/Andreas Zita
 
R

Robbe Morris [C# MVP]

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top