Information générale
Catégorie:
Fonctions Windows API
>I used the sample about form that came with VFP and found that user can launch many instances of the MSINFO or MSINFO32 program. Is there an easy way to prevent an additional launch short of using FoxTools.fll with RegFn and Callfn stuff. Why didn't MS make this modal? Any comments are appreciated.
I think you can only do it with the FindWindow API call
but you don't have to use RegFN or CallFN to work with it in VFP
you can just
DECLARE Integer FindWindow IN win32api Integer,String
lhandle=FindWindow(0,"windowname")
Arnon
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