CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ekhule

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    Hello Philip,

    Ok I made some progress. I got it to display if I use dc, but not when I use dcMemory. So this code works:



    CPaintDC dc(this);
    ...
    CRgn region;
    ...
  2. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    Hello Philip,

    Is it possible you can zip up your sample project and post it here? For some reason nothing is displaying correctly for me.

    I also sent you a private message if you get a chance...
  3. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    Can you post the code that has the changes you made?

    I don't have my code here to post those values for the variables, but I will post them as soon as I can.

    Thanks!
  4. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    Hello Phillip,

    The data I am attempting to plot is coming from a radar, if that helps.
  5. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    What type should I use then to pass to CreatePolygonRgn() ? It takes LPPOINT's which are longs. Can I pass doubles to them?

    Thanks
  6. Replies
    12
    Views
    3,654

    Re: How to draw a 2D array of data in MFC

    Thanks for the response. I took this code, and I tried to make it work, but nothing was displaying on the screen. So I started debugging the points, and here is an example of my 4 points:

    (0, 0)...
  7. Replies
    12
    Views
    3,654

    How to draw a 2D array of data in MFC

    Hello,

    I have a circle of data that is represented as:

    vector<vector <unsigned char> >* data;

    The first dimension of this vector is the angle of the data so there are 360 angles, and the...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured