Bitmaps on dialog box

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Evans

    #1

    Bitmaps on dialog box

    I have a dialog box and on it I want to display a bitmap, which will
    change at various times during the program. My problem is that the
    bitmaps will not be the same each time. I want the user to put their
    own bitmaps into a directory and the application will pick them off
    and display them as required. The bitmaps will always be called the
    same thing, ie 1.bmp, 2.bmp, 3.bmp - but they will be different
    pictures. I am new to visual c++.net so any help is much appreciated.


    Regards

    Mark.
  • Ron Pihlgren [MSFT]

    #2
    RE: Bitmaps on dialog box

    >From: cybernetuk@hotm ail.com (Mark Evans)[color=blue]
    >Subject: Bitmaps on dialog box
    >Date: 16 Oct 2003 02:25:26 -0700
    >
    >I have a dialog box and on it I want to display a bitmap, which will
    >change at various times during the program. My problem is that the
    >bitmaps will not be the same each time. I want the user to put their
    >own bitmaps into a directory and the application will pick them off
    >and display them as required. The bitmaps will always be called the
    >same thing, ie 1.bmp, 2.bmp, 3.bmp - but they will be different
    >pictures. I am new to visual c++.net so any help is much appreciated.
    >
    >
    >Regards
    >
    >Mark.
    >[/color]

    Hi Mark,

    This Knowledge Base article may be helpful (it points to a sample that shows 4 ways to draw a bitmap on an MFC dialog):



    HTH,
    --
    Ron Pihlgren, Microsoft Visual C++ Team
    This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm


    Comment

    Working...