Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted
It might lose focus if you disable it and then reenable it. :)Otherwise, where would you want the focus to go?

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Posted

Ok, I'll explain exactly what I am doing.

I have a Form that I use to test my code, I create it initially, then keep a pointer to the hwnd.

From then on, I use the handle to access the Form's TextBox where I display variables values of the Form that I am testing.

 

The problem is that when I change the text on the text box, it steals the focus from the form I am testing.

C#

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...