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

Search:

Type: Posts; User: tarkes

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    I had downladed the setup filw which is of 852kb. what should be the directory of setup. and for a trial i just extracted it but i dont find any header files .h as such. please kindly can u assist me
  2. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    Unfortuanately I am using VC++ 6.

    http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/f231453c-295e-46a7-bfe8-9a09af6044e5

    What is find there is no CImage class being defined in VC++...
  3. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    There has been lot of discussion goin on these. Soory I was bit out for 2 days. I was not in a position to check the post.
    My aim is:
    1. Display the image without refreshment i.e. what save in...
  4. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    I have posted another question please if you dont mind have alook at it and kindly suggest some ideas and solution. I will be highly thankful.

    This my question
  5. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    I know that but my purpose is difeerent. Say i am plotting based on a data a 2-d contour plot I have to go pixel wise since i have data at each point ie pixel. At that moment i cannot avoid it. Can...
  6. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    Wether it is possible or not?? I am waiting for some ideas or hints or some understanding..
  7. stop Refreshing of images drawn by setpixel() and saving it how to do?

    ONDRAW(CDC *pDC)
    for(int y=0; y<=600; y++)
    {
    for(int x=0; x<=600; x++)
    pDC->SetPixel(x,y,RGB(0,255,0));
    }

    This code draw a rectange of green colour. This image gets refreshed everytime...
  8. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Heloo every one.. The problem is solved. I designed the SDI and I got the results as i wanted. Thanks every1 to the hints given by every1.
    Special thanks to GCDEF who gave the main hint for solving...
  9. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Home Library Learn Downloads Support Community

    Sign in | United States - English | |
    Page Not Found
    MSDN
    We're sorry, but the page you requested could not be found. Please check your typing...
  10. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Sir Badluck that website u sent i found those links earlier from someothe websites. Its not working in India .. I gues its working only in US
  11. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Can you suggest me some good books or tutorials where i could understand. I followed up some books like Visual C++ in 21 Days and some such books.. There I just find how to add something and plot...
  12. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Basically I am related to mechanical. I am not so big expert in computer science field that i will understand everything in one shot. I have done C++ but for simple programs. Here in visual C++ many...
  13. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Ok arrays may be will help out
  14. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Initialize ?? I couldnot get it. I declared that pointer so as to have acess the vectors in Dialog class and assign the values to the vectors
  15. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    ONPLOT() is not called repeatedly. On pressing the PLOT button in a dialog box designed it starts executing the codes writen to generate the RGB vector.


    Further I would like to make a note that...
  16. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    pDOC is a pointer as declared


    CContourPlotDoc *pDoc; in colourdlg.h

    I have attached the screen shot of all files existing..Please kindly have a look
  17. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    For calculation puroposes i need values and so do i store it in vector format.. I have attached a screen shot as weel as i have quoted the code. Please have a look.
  18. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    I have attached a snap shot of working window showing CDOCUMENT.h file opened.. Please have alook at it
  19. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    void CColourdlg::OnPlot()
    {
    // TODO: Add your control notification handler code here
    //Getting number of rows and columns
    int j=0,i=0,k=0,l=0,ncols=0, nrows=0,R=0,G=0,B=0;
    double...
  20. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    Ok I followed all the instructions as given.. All codes compile successfully without any errror. But during execution it gets stuck.

    I found that this statement makes the loop stuck and ends the...
  21. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    yess I was guessing that.. Got some Idea.. i will try that in the night.. Thanks a lot..
  22. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    yess yess and i do understand that.. It was sucessful what u had suggested..

    I need an if condition in ONDRAW() so that when i call invalidate if (invalidate is called) then follwo the plotting...
  23. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    sooryy ..extremely sorry.. I dodnot see your post.. I missed yours. Let me try your suggestion




    Yes it was sucefful... Could u sugeest me..how to acess the vector.. The vector I am not able...
  24. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    void CContourPlotView::OnDraw(CDC* pDC)
    {
    CContourPlotDoc* pDoc = GetDocument();
    ASSERT_VALID(pDoc);
    // TODO: add draw code for native data here

    }

    This code is already writeen. The...
  25. Re: Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp

    I have attached the codes i had written.. pView i declared
    void CColourdlg::OnPlot() ... that I was just experimenting if it was working..But i have deleted that...
    These codes I had atached work...
Results 1 to 25 of 40
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured