Hi,
I have two MDI child programs. On each program I can drop a file (or multiple files) from windows explorer. But If i do this and both programs are open then both events voor handling the dropped files are executed. How to prevent this. Only the event in the program where the files are dropped should be executed.
In the global declaration of the programs 1 I use:
ExplorerAccept(True)
Event(GetFiles,"*.",563)
In the global declaration of the programs 2 I use:
ExplorerAccept(True)
Event(DoSomething,"*.",563)
When program 1 en 2 are open and program 2 have focus, dropping files also execute Event Getfiles in program 1.
Regards,
Herro
I have two MDI child programs. On each program I can drop a file (or multiple files) from windows explorer. But If i do this and both programs are open then both events voor handling the dropped files are executed. How to prevent this. Only the event in the program where the files are dropped should be executed.
In the global declaration of the programs 1 I use:
ExplorerAccept(True)
Event(GetFiles,"*.",563)
In the global declaration of the programs 2 I use:
ExplorerAccept(True)
Event(DoSomething,"*.",563)
When program 1 en 2 are open and program 2 have focus, dropping files also execute Event Getfiles in program 1.
Regards,
Herro