Thread: Changing Bitmaps ONBUTTON

  1. #1
    Registered User
    Join Date
    May 2006

    Changing Bitmaps ONBUTTON

    Its a
    AppWizard (exe.)
    Dialog based program

    so...using visual c++

    -I have a bitmap and a button on my main dialog

    -When you click the button the first bitmap should change into a second bitmap which was being held in our ResourceView.

    -This should work with the second picture appearing in the same x/y position as the first picture.

    Is this possible? If so, what's the code for it?

    I'm sort of a newbie so try and make it easy to understand for me.
    First post

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    bit too much to answer in one post....

    Break it down into smaller pieces, which bits do you have done / need help with?

    Load Image/s
    Draw Image to screen
    Change Image on user input
    Clean up on close
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing bitmaps efficiently
    By scwizzo in forum Windows Programming
    Replies: 28
    Last Post: 06-30-2009, 08:25 PM
  2. Changing Bitmaps ONBUTTON
    By greencola in forum C++ Programming
    Replies: 4
    Last Post: 05-16-2006, 10:25 AM
  3. DX9 Not Displaying Bitmaps
    By Sentral in forum Game Programming
    Replies: 9
    Last Post: 01-31-2006, 05:35 AM
  4. Changing windows without changing?
    By Lionmane in forum Windows Programming
    Replies: 7
    Last Post: 10-19-2005, 11:41 AM
  5. MFC: Multiple clicks shows multiple bitmaps - how?
    By BrianK in forum Windows Programming
    Replies: 0
    Last Post: 06-20-2004, 07:25 PM