On Sun, 23 Jul 2006, Martin Smat wrote:

> Florian Klaempfl wrote:
> > Micha Nelissen wrote:
> > 
> > > Martin Smat wrote:
> > > 
> > > > The structure MENUITEMINFO contains in the development version of
> > > > FPC
> > > > new parameter "hbmpItem" making this structure larger then
> > > > expected by
> > > > Windows.
> > > > Any ideas how to solve it?
> > > > 
> > > Beat the FPC guys for breaking backward compatibility. Make a copy of
> > > the structure, MENUITEMINFOEX or MENUITEMINFO2 or so, that has the
> > > new
> > > layout (and will be win2000+).
> > > 
> > 
> > Hmmm, I thought windows could handle this if the size field is set
> > correctly?
> > 
> > 
> I thought it as well but the reality is different. Windows can handle only if
> you use old (smaller) structure in new Windows version but using newer
> (bigger) structure in older version leads to ignore the command where this
> structure is used.

So, but it is not actually a bug ? It just means that the command is not 
executed 
on older windows version ?  

If this is correct:

This is a programmer's or Windows API error, then. The programmer should know 
that 
he cannot use the newer command/arguments on an old windows; The headers are 
correct, 
though; They conform to the latest Windows. 

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to