TrayItem.Handle

From Xojo Documentation

Revision as of 19:41, 4 October 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Read-Only Property (As Ptr )


PtrValue = aTrayItem.Handle

New in 2009r4

Supported for all project types and targets.

Returns the window handle that the TrayItem belongs to on Windows and the GtkStatusIcon widget on Linux. On Windows, the first TrayItem has a ID of 1000 and subsequent adds will increment this ID.