>Hi I have a small program which closes Windows explorer,but i keep getting the error
>
>"Too many arguments", when the function is called.
>
>here is the code
>
>wm_destroy has been defined before hand
>
>lnExplorerHand=THISFORM.findwindowinscreen("Exploring")
>IF lnExplorerHand !=0
>SendMessage(lnExplorerHand ,WM_DESTROY,0,0)
>ENDIF
>
Do you get the message referencing the method, or with SendMessage()?
>Any ideas would be a great help
>
>Regards Steven Bowskill