Managing views.
-
Hi. I have started a MDI project. I have a view derived from CFormView. In that form there are a few textbox and buttons. I want to call another view, (derived from CFormView), when the user press a button. In fact, there is a button "Next" and a button "Previous", when the user press "Next" I want to show other form, and so on. How can I do that?. How can I managed multiples views, (derived from CFormView, CScrollView, etc), so I can show it, (or hide it), from differents events?. In all these views the user fills some fields to finally update or query a SQL Database, but I dont have problems with that. Thank you and regards from Argentina. Demian.
-
Hi. I have started a MDI project. I have a view derived from CFormView. In that form there are a few textbox and buttons. I want to call another view, (derived from CFormView), when the user press a button. In fact, there is a button "Next" and a button "Previous", when the user press "Next" I want to show other form, and so on. How can I do that?. How can I managed multiples views, (derived from CFormView, CScrollView, etc), so I can show it, (or hide it), from differents events?. In all these views the user fills some fields to finally update or query a SQL Database, but I dont have problems with that. Thank you and regards from Argentina. Demian.
The classic article on view swapping is here: http://www.microsoft.com/msj/archive/SFFD.aspx[^] Tomasz Sowinski -- http://www.shooltz.com