Information générale
Catégorie:
Codage, syntaxe et commandes
Good Afternoon Sergey
How do I put the Win API "Copying" window inside the active form?
I was following this thread and tried your sample code. I have placed it in a vcx and modified accordingly, and it works fine. But I do have a question.
The Win Copy message/progress Window is opening in the main VFP window; which I think is consistent with your code:
NumToLONG(_screen.hWnd)
However, if I change it to:
NumToLONG(frmMyform.hWnd)
(and no other changes)
Then the line: lnRetCode = SHFileOperation(@lcFileOpStruct)
return an error "Variable 'lcFileOpStruct' is not found." Note that from the debugger Trace window an integer value is assigned to NumToLONG(frmMyform.hWnd).
So how do I get the Win Copying window to run inside the calling/active form?
Thanks in advance.
Don Lowrey
Précédent
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