yucad3d

CadWinClose

Asks whether the host-owned window may close (WM_CLOSE).

std::int32_t CadWinClose ( YuHandle hDwg, void* hWin );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

See Also