Archive: messagebox::show strangenes


messagebox::show strangenes
the second string in MSIBanner seems to be lodging itself into an extra [and unwanted button] in the messageBox::show plugin :(
if I use:
MSIBANNER::Show /NOUNLOAD "Howdy" "BOY"


the messageBox plugin will put 'Boy' as the last button in the list
if I put "" in the MSIBanner string, I get the button 'No'
MSIBANNER::Destroy does not fix the problem:(
anyone found a workaround?


you need to make sure the stack is clear otherwise it'll munch whatever params it can find. i really should try and update that plugin one day (if i can find the source for it :/ ) or just remake it

-daz


I've asked this question before in another thread and never got an answer so how do you clear the stack? I never figured it out and ended up going back to the v0.95 beta 1 version of the messagebox plugin. It let's you tell it how many buttons to show so that problem went away.


so what is the proper way to clear the stack ?

thanks for the plugin by the way :)


Pop untill the error flag is set


wow, that was easy
just added a POP $R1 before the messagebox::show statement and the problem vanished.....