how to make an image disappear?

Discussion in 'Win32' started by MarioAngeloElio, May 26, 2023.

  1. MarioAngeloElio

    MarioAngeloElio New Member

    Joined:
    May 25, 2023
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Hi everyone, I am a new subscriber and I have alteady a question about WIN32 API.

    I created a window with three selection BUTTONS, three descriptive LABELs and a background image.bmp. obtained with
    WM_PAINT, using
    BeginPaint()
    ....
    ...
    EndPaint
    and an .rc file where there are data to load image.bmp.
    I made it so that, by clicking either on one of the BUTTONS of choice, the BUTTONS, the LABEL disappear (as I want) and I enlarge
    the full screen window, but I can't get the image.bmp to disappear.

    I have searched all over the WEB but I only find program fragments, WIN32 API, which make images appear but nothing exhaustive to make them disappear.

    I kindly ask if someone of you can give me some indication to make the image.bmp disappear.

    Thanks in adavance
    MarioAngeloElio
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice