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?
Thanks
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?
Thanks
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”);
button->addToDesktop(0);
I also tried setting its size and position but nothing appeared.
This is on Win32.
Thanks
Forgot to do setVisible(). Oops! :oops: