Thread: Changing Bitmaps ONBUTTON

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    5

    Changing Bitmaps ONBUTTON

    Hey 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
    Thanks
    LL.

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    If you are a newbie, why are you programming in Win32 GDI by the way ?

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    5
    I'm doing this for school... I'm not sure what you're asking me but..

    I select AppWizard (exe.)
    Dialog based program

    when I start a new app..

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    5

    Red face reply

    Ill go through this.
    -I open visual c++
    -select file NEW
    -Under the projects tab, I select MFC AppWizard (exe)
    -Save and select ok
    -Select dialog based program.
    -Press ok.

    -Done.


    and maybe im not a newbie.. I don't know, I thought I was

  5. #5
    irregularly symmetrical n3v's Avatar
    Join Date
    Mar 2006
    Location
    Finland
    Posts
    67
    this looks like a question for the windows programming forum.
    If you make a man a fire,
    he will be warm for a day.
    If you set a man on fire,
    he will be warm for the rest of his life.

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 Windows Programming
    Replies: 1
    Last Post: 05-21-2006, 07:31 PM
  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