Full-screen child window

  • Some windows needs to create a full-screen child window (in my case, a keypad). However the parent window isn't full-screen, so the keypad will not be full-screen too.

    I know I can create the keypad window as a child of the background window (and put it at the top), however in this case the keypad will not be automatically deleted when the creator window is deleted.

    Is there a better approach? Is it possible to create a child window larger than the parent window?

  • Hi,

    you could create the fullscreen window as child of the WM_HBKWIN (the desktop window) and remember its handle. Once the smaller 'parent'-window gets deleted you also delete the fullscreen child.

    Like this:

    Regards,
    Sven

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!