Jan,
Sounds like you Tabbing yourself to death!
You would be better to use a different reactor as you are messing
in an area where things are in a state of change.
LayoutManagerReactor is not the one for what you are trying to achieve.
Try a different reactor. The are plenty of them pick the one that best
suits your needs.
Regards Gary.
www.ltfactory.com
"Jan Rembold" wrote in message
news:2DCADB06E84855AADFA83BC14E56040E@in.WebX.maYIadrTaRb...
> Hello all,
>
> I have big problems while switching the Tabs.
> When "AcApLayoutManagerReactor::layoutSwitched()" is called, the current
Tab
> is already switched to the new Tab.
> (Unfortunately there is no "layoutToBeSwitched"-Function)
> To deactivate the last Layout I have to switch back, deactivate the
> Viewports and switch forward to activate the new Ports.
>
> Most of the time that works pretty good while I'm switching in PaperSpace,
> but when I switch back to ModelSpace the screen is empty and I recieve a
> "dswhip.dll"-Error at the moment the cursor gets into the ModelSpace.
> I've red that the setCurrentLayout(newLayout)-Function sets the
"newLayout"
> to the actual *Paper_Space.
> But if the "newLayout" = "Model". Does the function recognize it to use
the
> *Model_Space instead of setting my ModelSpace to the actual *Paper_Space.
> That would explain the crash?!?!
>
> So, my first question is: - Is there a safe way to deactivate the last
used
> Tab (its Viewports) while using the LayoutManagerReactor??
>
> And the second question is: - How can I switch back to the Model-Tab
> manually without harming its View? ("dswhip.dll"-Err)
>
> Thanx.
> cya jan
>
>