I didn't get a YES and NO button when I ran this, just an OK button. > you're looking for a Win32::GUI::MessageBox. > > sub Submit_Click { > # Do some stuff here > > # Do some fancy stuff... > # Ooops, an error, ask a yes no question. > > $answer = Win32::GUI::MessageBox( > $question_text, > "ERROR", > MB_ICONQUESTION | MB_YESNO, > ); > if($answer == 6) { > # yes > } else { > # no > } > } > > cheers, > Aldo > > > >
- [perl-win32-gui] YES/NO Window Hogue, Jon
- Re: [perl-win32-gui] YES/NO Window Aldo Calpini
- Re[2]: [perl-win32-gui] YES/NO Window David Hiltz
- Re[2]: [perl-win32-gui] YES/NO Window Aldo Calpini
- Re: Re[2]: [perl-win32-gui] YES/NO Win... Jonathan Southwick
- Re: [perl-win32-gui] YES/NO Window Jonathan Southwick
- Re: [perl-win32-gui] YES/NO Window Jonathan Southwick