Archive: msgbox auto move on


msgbox auto move on
hi,

I need help design a messagebox, for instance, a YES NO msgbox, where the "YES" button will automatic execute after 30 seconds has gone pass.

example: "would you like to restart pc now?"
if the users does not respond in 30 seconds, the PC will automatic restart, with out any input to the messagebox.

thanks


I'm not sure if the MessageBox plug-in will allow this. If not, you need to write a plug-in.

Stu


Originally posted by Afrow UK
I'm not sure if the MessageBox plug-in will allow this. If not, you need to write a plug-in.

Stu


O man, i dont have much experince in designing pluggings with NSIS, i got basic skill with NSIS (3Months) and V.Gud knowledge with VB.

Is it possible that some one please design me the plugging for this type of MsgBox?

Thanks for the help. :-)

http://sourceforge.net/tracker/index...49&atid=373088


Quote:


See this post


Thanks, still need little more help.

This in not extactly what i wanted, but can make use of it. Just one minor problem.

How do gain flow control from this code, i tried few possiblities, and got the YES NO working, but no "Flow Control"

Code
-----------------------
System::Call `user32::MessageBoxTimeoutA(i $HWNDPARENT, \
t 'some message', \
t 'title', \
i 5, i 0, i 5000)`
MessageBox MB_OK "simple message box2"
MessageBox MB_OK "simple message box33333333333"
------------------------



Originally posted by Yathosho
http://sourceforge.net/tracker/index...49&atid=373088 Yathosho, i have registered with the link you supplied, and there answer not there, i searched the forms on the site, and no luck once again, :(