Hi, just trying to add a requester that timesout:
requester = IIntuition->NewObject(NULL, "requester.class",
REQ_TitleText, VERS" ("DATE")",
REQ_GadgetText, GetString(&li, MSG_REQ_ABORT_BUTTON),
answer = IIntuition->IDoMethod(requester, RM_OPENREQ, NULL, NULL, NULL);
if(answer == 0) // user ABORTed reboot/poweroff 'LAST CHANCE', end properly
reqtext string is:
\033cSystem will %s in \033b%d\033n seconds.\nPlease wait!!!
It shows the time (reqtout) the user defined in reqtext string, but is it posible that such number/countdown is visible (real time) in the requester?
Ant chance that with IIntuition->DoGadgetMethod() can I achieve what I'm trying?
Just newbie to programming. If soimeone can just point me (web/code/SDK autodocs..) where to look i'll be very happy.
Just uploaded all c source here (poff.c). In my account/content. Is it visible for everyone? If not what must I do/change for free-viewing such piece of "great" mess-code. ;-)