Objective Grid: Dynamically adding or deleting views

Article ID: 724
Last updated: 11 Jun, 2018
Article ID: 724
Last updated: 11 Jun, 2018
Revision: 3
Views: 1476
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 11 Jun, 2018
by Meltreger B.

Problem


Is there a way to dynamically add and delete views at runtime?
 


Cause



Action


You may add views by calling the CreateView() member. If you want to create a new view based on the same document template settings as for the active view, you can pass pContext = NULL and only specify the runtime class of the view to be added. If you want to specify for example the document type or menu id, you may create a CCreateContext on the stack and pass it to CreateView().

You may delete views by calling the RemoveTab() member.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 724
Last updated: 11 Jun, 2018
Revision: 3
Views: 1476
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 11 Jun, 2018 by Meltreger B.

Others in this category