It seems that the MessageBox function doesn't return any value.

        my $return = Win32::GUI::MessageBox (
            0,
            'please fill in account name',
            'error',
            2
        );
        print $return; # prints nothing

Does anyone have a piece of code which displays a MessageBox with
Win32::API (and prints which button the user clicked)?

Thanks,
SteMue


Reply via email to