Adobe Dreamweaver Forums



Last 10 THreads :         text justification (Last Post : John Waller - Replies : 4 - Views : 5 )           »          Newbie problem please help ... (Last Post : tomas.skg - Replies : 0 - Views : 1 )           »          Custom Buttons in WebHelp Skin (Last Post : Peter Grainge - Replies : 3 - Views : 4 )           »          formatting external text file as html when loading atextField (Last Post : kglad - Replies : 1 - Views : 2 )           »          Change text color on page load (Last Post : kglad - Replies : 1 - Views : 2 )           »          A New Joke Website (Last Post : BKBK - Replies : 1 - Views : 4 )           »          Release Key check (Last Post : kglad - Replies : 1 - Views : 2 )           »          website search term code (Last Post : Michael Evangelista - Replies : 1 - Views : 2 )           »          Basic question on how to change menu text in this FLAfile (Last Post : michael- - Replies : 3 - Views : 4 )           »          Open My Computer to view file's location (Last Post : quyenle_dl - Replies : 5 - Views : 6 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Authorware
 
Tags:



Reply
  #1 (permalink)  
Old 04-13-2008, 02:56 AM
m1j
 
Posts: n/a
Diggs:
Default systemMessageBox

Where can I find a list of what each return value relates to. 2 is cancel. we have seen try again return 10 but the winapi files seem to have that one at 4. So where do we find the complete list?


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 02:56 AM
Mike Baker **Adobe Community Expert**
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

I don't have a list. What I always do is display the box, click each option
I'm going to use and write it down. I throw it away when I'm done. :-)

Mike
====================
Mike Baker
Adobe Community Expert
mike-baker@cox.net

"m1j" <webforumsuser@macromedia.com> wrote in message
news:f1flb0$8h4$1@forums.macromedia.com...
> Where can I find a list of what each return value relates to. 2 is cancel.

we have seen try again return 10 but the winapi files seem to have that one
at 4. So where do we find the complete list?


Reply With Quote
  #3 (permalink)  
Old 04-13-2008, 02:56 AM
Amy Blankenship *AdobeCommunityExpert*
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

Look at the function description in the functions window.

"Mike Baker **Adobe Community Expert**" <mike-baker@cox.net> wrote in
message news:f1g3nd$q7n$1@forums.macromedia.com...
>I don't have a list. What I always do is display the box, click each option
> I'm going to use and write it down. I throw it away when I'm done. :-)
>
> Mike
> ====================
> Mike Baker
> Adobe Community Expert
> mike-baker@cox.net
>
> "m1j" <webforumsuser@macromedia.com> wrote in message
> news:f1flb0$8h4$1@forums.macromedia.com...
>> Where can I find a list of what each return value relates to. 2 is
>> cancel.

> we have seen try again return 10 but the winapi files seem to have that
> one
> at 4. So where do we find the complete list?
>
>



Reply With Quote


  #4 (permalink)  
Old 04-13-2008, 02:56 AM
m1j
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

Thanks Amy! That helps a little but "Try again" is not on the list. We have found that it is 10 using Mike Baker's approach.
Reply With Quote
  #5 (permalink)  
Old 04-13-2008, 02:56 AM
Amy Blankenship *AdobeCommunityExpert*
 
Posts: n/a
Diggs:
Default Re: systemMessageBox


"m1j" <webforumsuser@macromedia.com> wrote in message
news:f1na6k$8fm$1@forums.macromedia.com...
> Thanks Amy! That helps a little but "Try again" is not on the list. We
> have found that it is 10 using Mike Baker's approach.


There is no "Try Again" option for the SystemMessageBox function. Retry is
actually 4.

HTH;

Amy


Reply With Quote
  #6 (permalink)  
Old 04-13-2008, 02:56 AM
m1j
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

Here is what we have found. This shows the setup value as well as the return
values for each button.

myMess:=MessageBox("", "Message text","Continue?", 6)

-- Value Button Display Button value (int) - respectively
-- blk OK 1
-- 1 OK/cancel 1/2
-- 2 Abort/Retry/Ignore 3/4/5
-- 3 Yes/No/cancel 6/7/2
-- 4 Yes/No 6/7
-- 5 Retry/cancel 4/2
-- 6 Cancel/Try Again/Continue 2/10/11
-- 8 Help/cancel ""?/2 -- Dont work!!
-- 10 OK/cancel/Help 1/2/""? -- Dont work!!



Reply With Quote


  #7 (permalink)  
Old 04-13-2008, 02:56 AM
Amy Blankenship *AdobeCommunityExpert*
 
Posts: n/a
Diggs:
Default Re: systemMessageBox


"m1j" <webforumsuser@macromedia.com> wrote in message
news:f1ne4n$db3$1@forums.macromedia.com...
> Here is what we have found. This shows the setup value as well as the
> return
> values for each button.
>
> myMess:=MessageBox("", "Message text","Continue?", 6)
>
> -- Value Button Display Button value (int) -
> respectively
> -- blk OK 1
> -- 1 OK/cancel 1/2
> -- 2 Abort/Retry/Ignore 3/4/5
> -- 3 Yes/No/cancel 6/7/2
> -- 4 Yes/No 6/7
> -- 5 Retry/cancel 4/2
> -- 6 Cancel/Try Again/Continue 2/10/11
> -- 8 Help/cancel ""?/2 -- Dont work!!
> -- 10 OK/cancel/Help 1/2/""? -- Dont work!!


So even though you said you were using the SystemMessageBox function, you
actually were using a different function. Makes it difficult to give you
accurate information.

Good luck!


Reply With Quote
  #8 (permalink)  
Old 04-13-2008, 02:56 AM
m1j
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

myMess:=SystemMessageBox("", "Message text","Continue?", 6)

This one works the same. They are the same function.

SystemMessageBox is Authorware built in connection to the winapi control while
MessageBox is a direct connection to the winapi control.

So if any one else finds more results or option try posting them for the rest
of us.

Thanks!

Reply With Quote
  #9 (permalink)  
Old 04-13-2008, 02:56 AM
Amy Blankenship *AdobeCommunityExpert*
 
Posts: n/a
Diggs:
Default Re: systemMessageBox


"m1j" <webforumsuser@macromedia.com> wrote in message
news:f1njq6$k5a$1@forums.macromedia.com...
> myMess:=SystemMessageBox("", "Message text","Continue?", 6)
>
> This one works the same. They are the same function.
>
> SystemMessageBox is Authorware built in connection to the winapi control
> while
> MessageBox is a direct connection to the winapi control.
>
> So if any one else finds more results or option try posting them for the
> rest
> of us.


Interesting. I hadn't seen that before.

-Amy


Reply With Quote


  #10 (permalink)  
Old 04-13-2008, 02:56 AM
m1j
 
Posts: n/a
Diggs:
Default Re: systemMessageBox

It does seem silly why there would be a retry and a try again. There might be others.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk