Window.Handle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aWindow.Handle

Supported for all project types and targets.

Returns a handle to the window. Use this instead of the deprecated MacWindowPtr and WinHWND.

Notes

When interfacing with Cocoa APIs using Declares Window.Handle always gives a NSWindow or NSPanel.