Graphical data extraction using MFC