[XBOX] Load last window when in programs?
#1
Sup,

I was wondering if it's possible to have XBMC call "ActivateWindow(MyPrograms)" on boot if it was called from another XBE?

Under normal conditions (cold boot, restart from within XBMC), XBMC will start in the main Home window. But if it was called by another XBE (other than the XBMC XBE), it will trigger the Programs window.

So if I was in say E:\Apps\Dashboards and I click on E:\Apps\Dashboards\Evox, when Evox quits and launches XBMC - it will trigger "ActivateWindow(MyPrograms)" and the window showing would be "E:\Apps\Dashboards".

That way I could be in \some\really\long\path\to\a\program\appdir and launch an XBE and upon exit XBMC will start in \some\really\long\path\to\a\program.

I noticed XBMC uses CUSTOM_LAUNCH_PARAMS, but it seems only for launching programs. XBMC doesn't even try to figure out what launched it or if any params where passed ( XGetLaunchInfo() )?

Just wondering how I could tell if it was launched by another XBE besides itself?

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[XBOX] Load last window when in programs?0