Hi, I have a rather complex application that has a main ListView that gets refreshed from the database on a timer.
When data has changed I hide the ListView while I rebuild it. Problem occurs when another app has focus and the ListView is updated on my app, and the ListView in my app is the active control. Then my app jumps to the front and grabs focus!!
How can I change active control/focus from the ListView to another control before and after I rebuild it, without stealing focus from other apps on the machine?
graabein
When data has changed I hide the ListView while I rebuild it. Problem occurs when another app has focus and the ListView is updated on my app, and the ListView in my app is the active control. Then my app jumps to the front and grabs focus!!
How can I change active control/focus from the ListView to another control before and after I rebuild it, without stealing focus from other apps on the machine?
graabein