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.

Martin.

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

Reply via email to