How to code a dock-like app with no title bar?

Just a quick question. What would be the best way to create a window like a dock, with no title bar or system controls (e.g. minimise, maximise etc)? Would it be a window with specific type flags, or use some other type of component?


Just take any ordinary component, and call addToDesktop on it.

Hmm, tried that but it doesn’t display anything.

I created a new button (e.g.) in the initialisation code for the example project:

TextButton* button = new TextButton(“text”);

I also tried setting its size and position but nothing appeared.

This is on Win32.


Forgot to do setVisible(). Oops! :oops: