Shoutbox

Messagebox with checkbox? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Messagebox with checkbox? (/showthread.php?tid=80308)

Messagebox with checkbox? by pollolibredegrasa on 12-21-2007 at 09:18 PM

Just a quick question here:

Is it possible to create a messagebox which has a checkbox on it (for example, a "Do not show this message again" type thing)? Or for this would I have to create my own window?

Thanks in advance.


RE: Messagebox with checkbox? by Spunky on 12-21-2007 at 09:24 PM

I know you can hook messageboxes and add controls in VB (unsure about checkboxes), so in theory I would imagine it is possible


RE: Messagebox with checkbox? by CookieRevised on 12-21-2007 at 10:52 PM

quote:
Originally posted by SpunkyLoveMuff
I know you can hook messageboxes and add controls in VB (unsure about checkboxes), so in theory I would imagine it is possible
Its very possible. But the thing is, you also need some feedback to know if such checkboxes (or whatever control you've added and/or changed) are ticked or not. And that can't be done (properly) with the current scripting engine as it doesn't support callbacks.

Moreover, you need to be carefull with such things since a messagebox is shown very differently in Vista. So adding a checkbox control in the right place on a messagebox in XP will have a completely different (ugly/wrong) look in Vista....

If you want a "dont show this next time" messagebox, best thing is to create your own Plus! interface window I think, or forget about the checkbox and do as Plus! and many other programs do: add a text "this dialog will only be shown once" and add an option in your preference panel to 'reset' all first-time dialog boxes.
RE: RE: Messagebox with checkbox? by pollolibredegrasa on 12-21-2007 at 11:08 PM

quote:
Originally posted by CookieRevised
or forget about the checkbox and do as Plus! and many other programs do: add a text "this dialog will only be shown once" and add an option in your preference panel to 'reset' all first-time dialog boxes.

After a bit of thinking, I've come to the conclusion that this is probably the best way to go about it.

Thanks anyway :)
RE: Messagebox with checkbox? by vikke on 12-22-2007 at 12:33 AM

I would recommend you to do the MessageBox as an MP!L window. It will look nicer, and fit the rest of the script's windows. This is the best way to go, but it'll require more coding.