
Newbie to VB4 needs help w/ API call to DestroyWindow
I just got VB4 pro yesterday and am having problems calling winapi32's
DestroyWindow. I copied the Declare statement from the text file into
a module. I use to shell command to execute a DOS function (i.e. pkzip
or arj). I then have the handle to that window (long like -23495). The
problem is that after the program terminates, the window (dos box) is
still open (even though it is "finished"). I send the window handle to
DestroyWindow, nothing happens, no errors.
Any Suggestions,
Thanks,
Rex