Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>int pascal destroywindow(hwnd hwnd)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal DestroyWindow(HWND hWnd)
 <MS-WINDOWS equivalent>

  This function will destroy the specified window. All of the window's
descendants are also destroyed. For each window that will be
destroyed, a WM_DESTROY message is sent to that window's window
procedure before the window is actually removed. This allows the
application to perform any kind of cleanup that is necessary.

  Internally, WinDelete() will be called to remove the window from the
system's window list and to free any memory that was allocated for
the window's internal representation. After the destruction is
complete, WM_PAINT messages will be sent to all top-level windows if
order for the screen to be repainted.

Parameters
  hWnd is the handle of the window which we want to get rid of.

Returns
  TRUE if the window was destroyed, FALSE if not.

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