form that releases focus?

  • Thread starter Thread starter Erik Ekedahl
  • Start date Start date
E

Erik Ekedahl

A friend and I have worked together on a simple program for keeping track of
what we are doing, simply by popping up (at timed intervals) a small window
where we can enter some text that will be saved with a timestamp in an
xmlfile. This works great except for one thing.

First the sequence:

Every (adjustable) min it will pop up from hiding. (set to always on-top)
If it is ignored (no text entered it will go back into hiding after
(adjustable) sec.
If we enter text and hit enter it will record the text to an XML file and go
back into hiding.
(adjustable) min later it will pop up again to see if we need another entry.

The problem is this: After we enter some text and it hides, the next time it
pops up it grabs the focus. As a result we can be typing some code in
another window and suddenly we are typing it in this form. Is there any way
we can have it pop up, (set to always on top), Without haveing the focus
when we've entered text the previous time?

Thank you for your time.
E of E
 

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

Back
Top