
DestroyWindow function doesn't work correctly
Hi Ofer,
Instead of calling DestroyWindow, try posting it the WM_CLOSE message.
I'm not positive, but I think calling DestroyWindow may not allow the
window to properly run its "cleanup" code.
Franky Wong
Quote:
> I use the API function DestroyWindow(hWnd) from VB to close an
> app/window. But what it does is only hiding/minimizing the window but
> not closing it. What's the problem?
> --
> Ofer Zelig
> PixieSoft
> |------------- ((^^^^)) ---------|
> |Heaven is free, || |
> |Download it ___\/___ |
> |today! |
> ----------------------------------