smrtdrmmr has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

Does anyone know how to edit the help (?) menu that comes with a DialogBox in the upper right corner? What event handles clicking on this button and how can I add a drop down menu (ideal) or a popup if this button is clicked (if different from a normal popup window procedure). I can't find any information about the events for this button in the API for Win32::GUI. Thanks.

Jason

Replies are listed 'Best First'.
Re: win32::GUI::DialogBox help ? button
by Anonymous Monk on Aug 05, 2004 at 02:35 UTC

    If you posted some code, it might attract more attention.

      I am not sure what sort of code I am supposed to post because I am actually seeking code about how to make the ? button do something.

      use Win32::GUI;

      $main = Win32::GUI::DialogBox->new(
      -title => "The AMAZING FOODCHOOSER $curvers!",
      -text => "The Amazing Foodchooser $curvers!",
      -left => 110,
      -top => 110,
      -width => $dbwidth,
      -height => $dbheight,
      -name => 'Main',
      );

      sub helpbutton_Click{ #What should this be called?

      Jason