Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Chapter 21: Tree and List Controls Visual C++ and MFC Fundamentals


}


  1. Test the application and return to MSVC

  2. Display the Add Resource dialog box and double-click Bitmap

  3. On the Properties window, change the ID of the bitmap to IDB_LARGE and change
    its dimensions 320x32

  4. Design the bitmap as follows or import the Large.bmp file from the resources that
    accompany this book:

  5. Add another bitmap. Change its ID to IDB_SMALL and change its dimensions
    160x32

  6. Design the bitmap as follows or import the small.bmp bitmap it from the resources
    that accompany this book:

  7. In the header file of the view class, declare two CImageList variables named
    m_Large and m_Small


protected:
CImageList m_Large;
CImageList m_Small;

// Generated message map functions
protected:
Free download pdf