General information
Category:
Coding, syntax & commands
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
Previous
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