nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re:
From: Greg Haerr
Date: Thu, 7 Sep 2000 01:22:27 -0600

 
: I just want to destroy the window, not to exit the program.
: Any sugguest?

What happens if you add the following to your wndproc:

case WM_CLOSE:
    DestroyWindow(hwnd);
    return 0;
...




nanogui@linuxhacker.org