yucad3d

CadWinSize

Forwards WM_SIZE — resizes the render surface to the new client size.

void CadWinSize ( YuHandle hDwg, void* hWin, std::int32_t SizeType, std::int32_t cx, std::int32_t cy );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).
SizeType (std::int32_t)
Resize type from WM_SIZE (SIZE_RESTORED etc.).
cx (std::int32_t)
Client-area size in pixels.
cy (std::int32_t)
Client-area size in pixels.

Return Value

None.

See Also