From Xojo Documentation

Revision as of 13:59, 5 July 2013 by PLefebvre (talk | contribs)

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.


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