Change SendMessage(lnhwnd,4,0,0) to SendMessage(lnhwnd,16,0,0) and give it a try.
Sammie
>Thanx Sammy,
>
>The code runs but the application-to-terminate remains suspended - does not go away
>Is SendMessage need to be changed for Win2000 or WinNT?
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