What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Messagebox with checkbox?

Messagebox with checkbox?
Author: Message:
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
O.P. Messagebox with checkbox?
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.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
12-21-2007 09:18 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Messagebox with checkbox?
I know you can hook messageboxes and add controls in VB (unsure about checkboxes), so in theory I would imagine it is possible
<Eljay> "Problems encountered: shit blew up" :zippy:
12-21-2007 09:24 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Messagebox with checkbox?
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.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-21-2007 10:52 PM
Profile PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
O.P. RE: RE: Messagebox with checkbox?
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 :)
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
12-21-2007 11:08 PM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: Messagebox with checkbox?
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.
12-22-2007 12:33 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On