Window library WindTop() WindClear()
Programming guideline of WinDom

WindAttach()

NAME

WindAttach - transform an alien window in a WinDom window.

PROTOTYPAGE

WINDOW *WindAttach( int handle);

PARAMETERS

handle:
window handle,

return:
new window descriptor created.

DESCRIPTION

WindAttach() allows you to integrate alien windows in the WinDom environnement. The alien window should be created and opened before call of WindAttach(). This function is mainly used to insert window created by an another application inside your application. For example, FselInput() uses it to integrate the MagiC file selector as a window in the application.

Here, the code to delete an alien Window :

     		win -> status &= ~WS_OPEN;	/* */
     		WindClose( win);
     		win->handle = -1;
     		WindDelete( win);
SEE ALSO

AddWindows(), RemoveWindows(), remove_windowlist(), add_windowlist().