PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Custom today shell?

Ive been looking around the pocketpc api's on msdn for how to launch apps on the ppc...thing is I want to write a custom shell (much like LiteStep for windows) to replace the today app for my pda, but dammed if i can find something on how to launch an app...is it even possible? If someone can show me how, I promise you will see a skinnable launcher that doesnt cost an arm and a leg to run.

One more question: Is it possible to detect if a device supports VGA resolution? Today and HP Image Viewer both show hi res images when the device is in qvga mode..how do i detect this so I can make the custom shell render in higher res? (using pocketHAL for video library)
You want your program to execute another program? There are a couple ways, but I would recommend ShellExecuteEx. You can also open files of a known type (*.doc, *.html, etc) with it.

Code:

SHELLEXECUTEINFO sei;
memset(&sei;, 0, sizeof(sei));
sei.cbSize=sizeof(sei);
sei.fMask=SEE_MASK_NOCLOSEPROCESS|SEE_MASK_FLAG_NO_UI;
sei.lpVerb=_T("open");
sei.lpFile=_T("Someprogram.exe");
sei.lpParameters=NULL;
sei.nShow=SW_SHOW;
ShellExecuteEx(&sei;);


Dan East
d0h. browsing the wince sdk didnt turn that one up...I have used it for pc win32 stuff. sigh.

I did have a couple more questions tho: Is it possible to replace the Start screen with a custom replacement? Basically I dont want to see the start screen anymore when I do this app. Is there a registry setting somewhere to make a custom app the default at startup?

And lastly: Is there anyway to replace that goofy HP boot screen I see when I reset my ipaq? Id like to have a custom screen, make the other guys (and girls) jealous =)
Dan East wrote:You want your program to execute another program? There are a couple ways, but I would recommend ShellExecuteEx. You can also open files of a known type (*.doc, *.html, etc) with it.



Brilliant. Worked perfectly. Now to write a nice shell =)