Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement