Sloppy me. The syntax is: CloseWindow(Is_Run32("CadCam"), .T.)
I will attempt to use WM_CLOSE
Talk to you later.
Regards,
Dr. G. (Neil)
>>Hi George,
>>That seems so simple however I am having a proplem. I have vfp run the cad cam app. Now at this point the cad cam app is on the desktop as well as vfp is on the desktop. I type in the command window the following:
>>closewindow(is_run32("CadCam",.t.)) && I have included closewindow.prg below
>
>Neil,
>
>Is the above syntax correct? Or are you using
CloseWindow(Is_Run32("CadCam"), .T.)
>
>Since I'm unfamiliar with the application, it's really hard to say what's going on. Does it exhibit the same behavior if you use WM_CLOSE rather than WM_DESTROY?