I'm only guessing, but you're probably wanting a persistent dialog that cannot go away, however you want the user to click on help for a field. I've wanted the same...
I've spent some time working on this problem. Here's what I found: 1) I posted a question about the helpbutton twice, no responses. 2) I went to the source (vc++60), and couldn't do it. I believe its a true windows "must" to have a close with the help. Try playing around in plain-old-windows things like the "Properties" window, eg, right-click on a file and click "properties". You'll see what I mean. I can, however, have the window with NO decorations (and I do use this on occasion). Anyone disagree, please show me the way! Regards, -Stuart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jangale V-S SPEL-TIT Sent: Thursday, June 05, 2003 6:06 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: [perl-win32-gui-users] Helpbutton event 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 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users