I'm VC++ learner/beginner.

I have a MFC SDI application which will draw the graph from the given data points.

Now I want to add two features to my application.

1. I want to paint the graph region not the whole graph frame. I have attached pic which I want to get from my application.

Name:  Shaded graph.png
Views: 267
Size:  2.4 KB

2. I want to read the binary format file and read the data points to draw the graph.

here we have used DirectX to draw the graph.

Kindly provide your suggestions to solve this issue.