Introduction - If you have any usage issues, please Google them yourself
Operation of a water wave guide 7, the establishment of two projects, add functions and variables, modify the header file (view.h) public: int npoint float lpoint [4] [4] float cpoint [102] [76] [3] void drawplat () void lm () BOOL movekey CClientDC* my_pDC CRect my_oldRect BOOL mytbar BOOL mysbar virtual ~ CCmyView () # ifdef _DEBUG virtual void AssertValid () const virtual void Dump (CDumpContext & dc) const # endif add a message response function OnTimer (). Third, initialize variables CCmyView:: CCmyView () {//TODO: add construction code here my_pDC = NULL mytbar = FALSE mysbar = FALSE movekey = TRUE npoint =- 1 for (int i = 0 i < 102 i++) {for (int j = 0 j < 76 j++) {cpoint [i] [j] [0] = 0.0f cpoint [i] [j] [1] = 0.0f cpoint [ i] [j] [2] = 0.0f // method to the initial value of all 0} } }