Chris Wearn wrote:
Hi All,
Have just downgraded and recompiled latest Win32-GUI from CVS using VC6.
Now I get an error "can't find TBSTYLE_EX_MIXEDBUTTONS in package blah
blah"
The same if I run the demo toolbar.pl that Rob May posted to the group
when experimenting with all the options.
Is this something that is missing from Win32-GUI?
How do I get around this... use constant .... or something.
Cheers
Chris
Hi Chris,
Do you have a short example that exhibits the problem? I can't
duplicate it:
#!perl -w
use strict;
use warnings;
use Win32::GUI;
print "Win32::GUI version: $Win32::GUI::VERSION\n";
print "Constant TBSTYLE_EX_MIXEDBUTTONS = ", TBSTYLE_EX_MIXEDBUTTONS, "\n";
exit(0);
Produces (the same for both Perl 5.6.1 and 5.8.7):
C:\WINDOWS\Desktop>perl tbstyle.pl
Win32::GUI version: 1.0202
Constant TBSTYLE_EX_MIXEDBUTTONS = 8
Does TBSTYLE_EX_MIXEDBUTTONS have a definition in your commctrl.h file?
Regards,
Rob.