er,how to do it?
-
Hi, I am writing a program, I want it to display datas in the view.When you press a menu item ,the view display some data,and when you press another menu item, the view was made to empty and display another data.How to do it? It seems CView::invalidate ()does not do the thing well.Can anyone tell me? Thank you. YES, I am here.
-
Hi, I am writing a program, I want it to display datas in the view.When you press a menu item ,the view display some data,and when you press another menu item, the view was made to empty and display another data.How to do it? It seems CView::invalidate ()does not do the thing well.Can anyone tell me? Thank you. YES, I am here.
You have to override OnPaint to control how the data is rendered. And an FYI: "data" is the plural form. "datum" is singular. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
-
Hi, I am writing a program, I want it to display datas in the view.When you press a menu item ,the view display some data,and when you press another menu item, the view was made to empty and display another data.How to do it? It seems CView::invalidate ()does not do the thing well.Can anyone tell me? Thank you. YES, I am here.
If it is a FormView, you could add edit or Static controls and then use UpdateData. OnInitialUpdate is called in the beginning. You would use this to initialize anything. This means updating the initial data on the page.
-
If it is a FormView, you could add edit or Static controls and then use UpdateData. OnInitialUpdate is called in the beginning. You would use this to initialize anything. This means updating the initial data on the page.
-
Hi, I am writing a program, I want it to display datas in the view.When you press a menu item ,the view display some data,and when you press another menu item, the view was made to empty and display another data.How to do it? It seems CView::invalidate ()does not do the thing well.Can anyone tell me? Thank you. YES, I am here.