Visual Studio 6 Help

This is a discussion on Visual Studio 6 Help within the Game Programming forums, part of the General Programming Boards category; I am using MFC AppWizard to make part of the menus for my game, Advent of Time. I have created ...

  1. #1
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735

    Visual Studio 6 Help

    I am using MFC AppWizard to make part of the menus for my game, Advent of Time. I have created a button and enabled the Bitmap and Owner draw styles. Also, I have created three bitmaps. My question is how do I connect the bitmaps with the button?

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    You might want to try and get someone to move this to the Windows Programming board. I haven't used MFC in forever. I bet someone over there can help you.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    1. Go to class wizard.
    2. Select the Member Variables tab.
    3. You will see all the members of the class that are not 'connected' to the interface you created.
    4. Select an item in the list box. Then select the correct class and variable type for the item - in other words for a Text box you would select the type as control, and the class as CTextBox. Now for the actual text variable and not the object, select the item again and then for type select variable and create an identifier for it.

    Do this for all items and this will 'connect' your interface to your code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 09:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 09:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21