ovi_GetWindowRef


ovi_GetWindowRef(overlayRef;macWindowRef) <- errorCode
Parameter Type Description
-> overlayRef Long Integer Overlay window reference
<- macWindowRef Long Integer The Mac WindowRefence
<- errorCode Long Integer Error Code (0 = no error)


overlayRef is a reference to an overlay window returned by ovi_NewWindow.

The routine returns in macWindowRef the standard Mac OS reference of the overlay window. This reference can be used with some windows handling routines:

ERASE WINDOW Erases the Overlay window. It can only be redrawn if ovi_GetSetMessage is called or if the window is hidden/showned.
Get window title Returns ""
HIDE WINDOW Hide the overlay window
REDRAW WINDOW no effect
SHOW WINDOW Show the overlay window, but it is not redraw. Use ovi_GetSetVisible.
Window kind Returns 0
WINDOW LIST The Mac Window reference of the overlay is in the array