SceneManager

SceneManager

BY 14 Apr 2014 Native Application Development

Hi,
I’m create form for showing documents in my application. In documents I have links for navigation between different documents.

And when i try go to this link(I need go from first document to next)


SceneManager* pSceneManager = SceneManager::GetInstance();

ForwardSceneTransition  transction( IDSCN_DOCUMENT_VIEW_FORM,
                                        SCENE_TRANSITION_ANIMATION_TYPE_LEFT,
                                        SCENE_HISTORY_OPTION_ADD_HISTORY,
                                        SCENE_DESTROY_OPTION_KEEP);

pSceneManager->GoForward(transction, list);

I get next exeption.

 [E_INVALID_ARG] Invalid argument is used. Can’t forward to current Scene.

Why? 

Written by