differences between WM_IsCompletelyCovered(), WM_IsCompletelyVisible() and WM_IsVisible()

  • I wonder what are the differences between WM_IsCompletelyCovered(), WM_IsCompletelyVisible() and WM_IsVisible().
    For example if I have a hidden window? Or if my window is only partially covered?

    best regards
    Max

  • Hi,

    WM_IsCompletelyCovered() returns 1 if the window is completely covered by another window.
    WM_IsCompletelyVisible() returns 1 if no part of the window is covered by another window.
    WM_IsVisible() returns 1 if the window is not hidden, even if the window is completely coverd. It will return 0 if you hide it (by calling WM_HideWindow()).

    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!