[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Appl_search cannot return APP_SHELL
On fr., 2014-12-26 at 07:42 +0000, WongCK wrote:
> I find none of the app found are of type APP_SHELL on the stype
> output.
Ok... Then there's something wrong in your code or your desktop is not
started with the "SHELL" command in xaaes.cnf.
>
In Taskbar I use the following code and it works:
char name[32];
short int type, apid;
more = appl_search(APP_FIRST, name, &type, &apid);
while (more)
{
if (type & APP_SHELL)
{
/* Desktop found, take appropriate action here */
}
more = appl_search(APP_NEXT, name, &type, &apid);
}
What is the definition of APP_SHELL in your case?
Jo Even