General information
Category:
Coding, syntax & commands
Actually I tried that...
I tried to look into the function and seem to have found the problem.
But I don't know how to fix it...
It actually happens as soon as I activate another window. Any window
so it is not the tool bar text.
It seems to be
GetActiveWindow()
It returns 0 if the application is not currently the activated one.
So the isrun_32 will fail if it is not run as the activated application.
Is there an alternate function that can be used to GetActiveWindow()
In my VB API reference it is noted:
It is common for no window to be active. This is because the active window state is kept on a per-application instead of systemwide basis.
I will continue to look for a solution.
Thanks for your help.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only