Search found 347 matches
- Tue Jun 18, 2013 1:19 pm
- Forum: General Developer Support
- Topic: requester that times out, showing coutndown
- Replies: 7
- Views: 4366
Re: requester that times out, showing coutndown
I guess you could try a SetGadgetAttrs() on the Requester Object, but it's a hack and I'm not sure it would work. That should be SetAttrs() since it's not a gadget and doesn't need a GadgetInfo for rendering. Anyway I doubt that this would work. A possible future enhancement to requester.class woul...
- Tue Jun 18, 2013 1:09 pm
- Forum: General Developer Support
- Topic: requester that times out, showing coutndown
- Replies: 7
- Views: 4366
Re: requester that times out, showing coutndown
I guess you could try a SetGadgetAttrs() on the Requester Object, but it's a hack and I'm not sure it would work. Otherwise you could simply open a new requester (over the top of the old one that has timed out), then close the old one behind it... I think your fuelgauge solution is the best. I did ...
- Mon Jun 17, 2013 7:11 pm
- Forum: General Developer Support
- Topic: requester that times out, showing coutndown
- Replies: 7
- Views: 4366
Re: requester that times out, showing coutndown
I think you would have to change the timeout to 1 second. Then have a loop that counts down the timeouts, redrawing the text after each timeout and finally exiting when the counter gets to zero. How do I only (re)render/update the text contests without (re)opening the requester? http://www.os4codin...
- Sat Jun 15, 2013 11:02 am
- Forum: General Developer Support
- Topic: requester that times out, showing coutndown
- Replies: 7
- Views: 4366
Re: requester that times out, showing coutndown
Yep, that's sort of what I was thinking. Just asked here if there is a "better" solution. TIAtonyw wrote:I think you would have to change the timeout to 1 second. Then have a loop that counts down the timeouts, redrawing the text after each timeout and finally exiting when the counter gets to zero.
- Fri Jun 14, 2013 8:06 pm
- Forum: General Developer Support
- Topic: requester that times out, showing coutndown
- Replies: 7
- Views: 4366
requester that times out, showing coutndown
Hi, just trying to add a requester that timesout: .. requester = IIntuition->NewObject(NULL, "requester.class", REQ_TitleText, VERS" ("DATE")", REQ_BodyText, reqtext, REQ_GadgetText, GetString(&li, MSG_REQ_ABORT_BUTTON), REQ_TimeOutSecs, reqtout, TAG_DONE); answer =...
- Fri May 31, 2013 7:08 pm
- Forum: General Developer Support
- Topic: how to SYNC to inhibit all partitions
- Replies: 9
- Views: 8736
Re: how to SYNC to inhibit all partitions
Essentially all you need to do is go through all the devices in the doslist and inhibit them. .. Thx it works fine your code :-) just a question: Why are you using 'struct DeviceNode *dn;' instead of 'struct DosList *dl;' looking in autodocs 'IDOS->LockDosList()' result "should" be a DosL...
- Thu May 30, 2013 9:46 pm
- Forum: General Developer Support
- Topic: how to SYNC to inhibit all partitions
- Replies: 9
- Views: 8736
how to SYNC to inhibit all partitions
Can someone point me (enlight) where to look (website, code, sdk docs,...) to add to poweroff SYNC feature (like in reboot cmd.)?
TIA
TIA
- Wed May 22, 2013 10:13 pm
- Forum: SDK Support
- Topic: Changing Seek() deprecated
- Replies: 5
- Views: 8179
Re: Changing Seek() deprecated
THX all, just chnged to Seek64 and think updated all to int64 values, will do some checks/test and see what happens. TIA
- Sun May 19, 2013 2:16 pm
- Forum: SDK Support
- Topic: Changing Seek() deprecated
- Replies: 5
- Views: 8179
Re: Changing Seek() deprecated
oups, you're right
will try to read more carefully next time THX mate!!!
- Sun May 19, 2013 1:07 pm
- Forum: SDK Support
- Topic: Changing Seek() deprecated
- Replies: 5
- Views: 8179
Changing Seek() deprecated
Hi trying to change deprecated Seek() with ChangeFilePosition(), but can't make it to work. kkfu=ChangeFilePosition(infh, 0, OFFSET_BEGINNING) gives me always -1 kkfu=Seek(infh, 0, OFFSET_BEGINNING) gives me (is a loop): kkfu=0 kkfu=29428 .. TIA. What am I missing? BTW BPTR infh; int32 kkfu; infh = ...