Pass a vector from a pushbutton in dialog class to ONDRAW () in the view.cpp
I am creating an SDI to plot a picture pixel wise using pDC->setpisel()
I have a large 2D vector which is generate in PLOT button in a dialog . On pressing the 2d vector is generated. How will I pass this 2D vector to ONDRAW(CDC*pDC). So that i can process further the vector and put as pixels using for loop.. I donot know if ::Postmessage could workout.. How to use it if it does so??
I would be highly thankkful for ideas and sugestions