Dear All,

I have a small demo program where I have added helpbutton property as
follows

use Win32::GUI;

my $dialogbox = new Win32::GUI::DialogBox(
  -name         => 'dialogbox',
  -text         => 'Demo Dialogbox',
  -left         => 300,
  -top          => 120,
  -width        => 300,
  -height       => 150,
  -helpbutton   => 1,
  -maximizebox  => 0,
  -minimizebox  => 0,
  -resizable    => 0,
);

$dialogbox->Show();
Win32::GUI::Dialog;

sub dialogbox_Terminate {
  $dialogbox->Hide();
  return -1;
}

sub dialogbox_HelpRequested {

print "Help Help\n";
}

What event does helpbutton icon trigger when clicked on it ?

I tried to use _HelpRequested event but of no use !!

Can somebody tell me which event is triggered ??

Another question is 

Is there any way to disable CLOSE (Terminate) icon on a window ??

The icon should be visible but in disable state !


Any help is hightly appreciated !!

With Best Regards,

Vidyadhar


Reply via email to