# Current status of subclassing DesktopWindow and/or DesktopContainer

**URL:** <https://forum.xojo.com/t/current-status-of-subclassing-desktopwindow-and-or-desktopcontainer/70372>\
**Category:** General\
**Created:** [May 23, 2022, 8:48pm UTC](https://forum.xojo.com/t/current-status-of-subclassing-desktopwindow-and-or-desktopcontainer/70372 "2022-05-23T20:48:36Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [May 25, 2022, 4:35pm UTC](https://forum.xojo.com/t/current-status-of-subclassing-desktopwindow-and-or-desktopcontainer/70372/18 "2022-05-25T16:35:38Z")

</div>

> [@Paul\_Rodman](#):
>
> But if those are instances, why can you create one or more instances of those items programmatically using “new”?

Because it’s not.

Eliot said the following in 2017:

> [@Class Windows](https://forum.xojo.com/t/class-windows/40932/8):
>
> When you create a window called Window1, you create a class Window1, which is a subclass of Window in a module with the same name. So the full classname is actually Window1.Window1. If ImplicitInstance is set to yes  unfortunately the standard , a function with the same name is created in this module, which returns the instance and creates the instance on the first call). So you can access the Window1 instance without having to create it with New beforehand. If you want to really subclass Wi…

---

_[View the full topic](https://forum.xojo.com/t/current-status-of-subclassing-desktopwindow-and-or-desktopcontainer/70372)._
