Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>destroywindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DestroyWindow()
Destroy a window and free its resources
------------------------------------------------------------------------------

Syntax
DestroyWindow( <hWnd> )   -->   lSuccess

Arguments
<hWnd> is the handle of the window to be destroyed.

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function frees any memory or other resources associated
with the specified window.

If the window has any child windows, they are automatically
destroyed before the owner window, as are any modeless dialog
boxes.

An application's top-level window is destroyed automatically
when the application exits.

Example
hWnd = CreateWindow ( . . . )
     .
     .
     .
DestroyWindow( hWnd )


See Also: BringWindowToTop() CloseWindow() DestroyWindow() FindWindow() GetWindow() IsWindow() IsWindowVisible() IsZoomed() MoveWindow() OpenIcon() ScrollWindow() ShowWindow() UpdateWindow()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson