Chapter 21: Tree and List Controls Visual C++ and MFC Fundamentals
}
- Test the application and return to MSVC
- Display the Add Resource dialog box and double-click Bitmap
- On the Properties window, change the ID of the bitmap to IDB_LARGE and change
its dimensions 320x32 - Design the bitmap as follows or import the Large.bmp file from the resources that
accompany this book: - Add another bitmap. Change its ID to IDB_SMALL and change its dimensions
160x32 - Design the bitmap as follows or import the small.bmp bitmap it from the resources
that accompany this book: - 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: