Erick,

I think these will work, I haven't tried them all.

Settings
=================================
0 - display only the OK button
1 - display OK and Cancel buttons
2 - display Abort, Retry, and Ignore buttons
3 - display Yes, No, and Cancel buttons
4 - display Yes and No buttons
5 - display Retry and Cancel buttons

16 - display Critical Message icon
32 - display Warning Query icon
48 - display Warning Message icon
64 - display Information Message icon

0 - set first button as default
256 - set second button as default
512 - set third button as default
768 - set fourth button as default


Return Values
=====================
1 - OK
2 - Cancel
3 - Abort
4 - Retry
5 - Ignore
6 - Yes
7 - No

Like I said, I think these are right.


Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
[EMAIL PROTECTED]

  ----- Original Message ----- 
  From: Erick J. Bourgeois 
  To: perl-win32-gui-users@lists.sourceforge.net 
  Sent: Tuesday, January 23, 2001 6:22 PM
  Subject: [perl-win32-gui-users] MessageBox


  I see. Do you have a list of the corresponding icon, button, and modality 
values?
   
  erick
  never stop questioning
  www.jeb.ca
    ----- Original Message ----- 
    From: Thomas, Timothy B 
    To: 'perl-win32-gui-users@lists.sourceforge.net' 
    Sent: Tuesday, January 23, 2001 11:09 PM
    Subject: RE: [perl-win32-gui-users] MessageBox


    Erick - the function I was using was out of the Win32 module, not 
Win32::GUI, that explains the differences.
        to get the method I use to work you would need: use Win32, as well as 
use: Win32::Gui.
                    Tim

    
-------------------------------------------------------------------------------------------------

    Tim Thomas

    Unix Systems Administrator

    Lockheed Martin EIS ยท Denver Data Center

    303-430-2281

    mailto:[EMAIL PROTECTED]

    
-------------------------------------------------------------------------------------------------

Reply via email to