Hi Rob,

Have checked my commctrl.h file and it is dated 1998 and stated as being
v1.2 

The includes are directly from installing VS98 and SP6

The header file IS missing TBSTYLE_EX_MIXEDBUTTONS. If I define it:

#define TBSTYLE_EX_MIXEDBUTTONS 0x00000008 and re-compile, it then
protests that it is missing BTNS_SHOWTEXT.

Clearly the commctrl.h file is out of date. I was under the impression
you were using the same compiler. Can the include headers from .NET be
used. If not how do you update the headers (and what other resources
need to be updated).

I tried the Win32api includes from MinGW, however BTNS_SHOWTEXT was not
found in commctrl.h from MinGW either.

An example that exhibits this is the toolbar.pl script you sent me
(attached).

I think Jez is in the same boat, as he couldn't run the script either,
the other day without the same error.

Rgds

Chris

On Sun, 2005-10-30 at 18:06 +0000, Robert May wrote:
> 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.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> http://perl-win32-gui.sourceforge.net/
> 

Attachment: toolbar.pl
Description: Perl program

Reply via email to