Subclass desktopwindow

Is it possible to subclass a desktop window?

I get an error when I try (2022.3).

Kind of hard to answer

show us the code

1 Like


A window is not a control. So if you drag it to the left pane of the IDE, you don’t create a subclass, but simply a window.

What have you tried, and which error are you getting ?

Figured it out:

To subclass a window, make a class (not a window!), set its super to DesktopWindow. Then it will compile.