[perl-win32-gui-hackers] Menu enhancement patch for gui_options

2004-01-13 Thread Glenn Linderman
Hi Laurent, and others, Here is a patch to enhance menus, by exposing more Windows options to Perl. The new code is in the first part of the patch, I think you have already applied the second part of the patch. After the patch I give a usage sample. diff -c D:\Win32-GUI-rel-0.0.665\gui_option

[perl-win32-gui-hackers] CVS commit

2004-01-13 Thread Steve Pick
Hi, In this update: - GUI.xs : Made ProgressBar aware of -foreground and -background colour settings Example: my $progressbar = new Win32::GUI::ProgressBar($mainwindow, -name => "PB1", -left => 0, -top => 0, -width => 100, -height => 20, -foreground => [255,0,0], # Red.

[perl-win32-gui-hackers] Some modifications to GUI_MessageLoops.cpp

2004-01-13 Thread Stephen Pick
Hi all, Glenn Munroe pointed out that when you return a value from a handler it is discarded by Win32::GUI. Some notify messages and other messages benefit from the ability to return a specific result from the wndproc. I've implemented this as follows: In your handler, if you want to explicitly