|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
[Ask a question] procedures Void CGridDemoView : : OnDraw (CDC* pDC)
-- CGridDemoDoc* pDoc = GetDocument ();
ERT_VALID (pDoc);
If (!Flags)
-- Grid=new CGridWnd (this,5,5); 4003rd out forms to create a line 5
Grid->;Create ();
Flags=TRUE;
}
}
This procedure can be written in normal operation. (Flags are BOOL type initialization 为false)
But if if conditions and "Flags=TRUE;" removed, there will be maximized window has been revealed in the form of flashing. Would you set up the variable Flags do what? To prevent flashing?
Please enlighten me : predecessors Gate) |
[Ask a question] procedures If the flag should be to leave, not to create tables, then build forms,
Then flag home to be true, the future will not have to create forms.
I understand. |
| |