SElib.breakWindow()
syntax: |
SElib.breakWindow(hWnd) |
where: |
hWnd - a number, the handle of the window being released or destroyed.
|
return: |
boolean - true on success and the window is successfully destroyed, released, or subclassed, else false on failure.
|
description: |
For Win32 and Win16
Releases control of a window controlled by SElib.subclassWindow() or destroys a window previously created with SElib.makeWindow(). No other windows are affected. If hWnd is not a valid window handle, no action is taken and true is returned.
When a window is destroyed all appropriate DestroyWindow() functions, internal to the Windows API, are called. Any child windows of a main window are destroyed before the main window.
If hWnd is a window controlled by SElib.subclassWindow(), then this method removes the WindowFunction for a window from the message function loop.
If hWnd is not supplied, then all windows created with SElib.makeWindow() are destroyed and all subclassing ends.
|
see: |
|