How to make a window ignore signals

Hi all,

I have just added a secondary window to my app in a manner similar to the BasicAppMultiWindow sample:

app::WindowRef newWindow = createWindow( Window::Format().size( 400, 400 ) );

I do not want this window to respond to any mouse or keyboard signals. How do I disconnect the window from these signals?

Kind regards,

Dave

Simply don’t attach an event handler, or attach an empty one for that window. That should be enough to ignore mouse and key events for the content area. To disable moving, resizing or minimizing the window, specify this in the Window::Format(), see here.