Set default view ports C++

Hi All
How to set default view ports (for all four) when I draw some object. For an example, if I have function ON_Brep* CreateShape(); when I draw that shape I want to be in full scale shown at first place like as I pressed 4 default viewports button.
Thanks Filip

Use CRhinoDoc::FourViewLayout().

– Dale