|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
determining current winform application is active, has focus or being usedVB 2005 and windows form application
I am having difficulty putting my question into words but.. Is there a way to determine whether my win form application has focus or it is active or being used? I think I should have give some more information
I want to refresh my application's underlying datasources (DataSet and Object Collection) periodically to reflect underlying database changes. I have put a timer on the form which will call a sub procedure to update the application's underlying datasources. I just want to make sure that if the current application is being used just skip the call to subprocedrue to update datasources. Try (VB 2005)
System.Windows.Forms.Application.OpenForms c_shah 写é“: Show quoteHide quote > VB 2005 and windows form application > > I am having difficulty putting my question into words but.. > > Is there a way to determine whether my win form application has focus > or it is active or being used? It will give me whether the form is open or not?
I want to know whether you have focus on the form (by mouse or keyboard).
Question about walking the file system
Searching desparately for createmailslot example in VB.NET (MSDN universal Subscriber) Show ToolTip on every Control continuously Starting process using shell execute returns nothing Transparent listview My.Settings wont update?? Checked List Box check in program Compressing textfiles, but still read them windows service + vb.net + windows 2003 |
|||||||||||||||||||||||