Thread: MFC: Multiple clicks shows multiple bitmaps - how?

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    72

    MFC: Multiple clicks shows multiple bitmaps - how?

    I want to click a button and have the following show up:

    after one click:
    http://hero.com/~briank/misc/1.gif

    after two clicks:
    http://hero.com/~briank/misc/2.gif

    after three clicks:
    http://hero.com/~briank/misc/3.gif

    and so on.

    I'd prefer to only load the white square and the green sqaure as a resource & then dynamically display the bitmaps. What is the best way to do this?

    ... and to complicate matters, in the final product, these bitmaps will not be spaced evenly apart - the columns will be right next to eachother, but the rows will have text between them.

    FYI: I'm not looking for you to spell it out (though feel free if you'd like), rather some suggestions as to what to use - brushes? bitmaps? bitmap brushes? Can I do this all on the fly? Do I need to use the GUI to place the bitmaps, then turn them on/off & move them around in the code (I'd rather not use that method)?

    side note: why are those images showing up as links even though I put them in img tags?
    Last edited by BrianK; 06-21-2004 at 12:20 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC :: Modifying string table for multiple file extensions
    By SyntaxBubble in forum Windows Programming
    Replies: 0
    Last Post: 06-06-2003, 05:18 PM
  2. MFC :: Multiple File Extension Support
    By SyntaxBubble in forum Windows Programming
    Replies: 0
    Last Post: 06-02-2003, 09:18 AM
  3. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  4. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  5. Serialization & Reading/Write Multiple Lines :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 04-10-2002, 01:45 AM