Variant.WindowPtrValue

From Xojo Documentation

Read-Only Property (As WindowPtr )
WindowPtrValue = aVariant.WindowPtrValue

Supported for all project types and targets.

Returns the value of the Variant as a WindowPtr.