The attached patch fixes the following

* REBARBANDINFO structure on CE doesn't have the cxHeader field, #ifdef'ed out -
http://msdn2.microsoft.com/en-us/library/aa453639.aspx

* CommandBands_* function prototypes (CommandBands_AddAdornments,
CommandBands_AddBands, CommandBands_Create,
CommandBands_GetCommandBar, CommandBands_GetRestoreInformation,
CommandBands_Show), macros (CommandBands_Height) and defines
(CMDBAR_OK, CMDBAR_HELP) added (all as described on
http://msdn2.microsoft.com/en-us/library/ms907195.aspx).

Implementation notes - The CMDBAR_* defines took a bit of brute
forcing, apparently several bits all do the same, so I've defined the
constants to all the bits that work. The CommandBands_Height macro
(http://msdn2.microsoft.com/en-us/library/ms908124.aspx) had me
stumped until I came across RB_GETBARHEIGHT
http://msdn2.microsoft.com/en-us/library/aa453612.aspx). Rebars and
CommandBands are closely related (they share some structures,
particularly REBARBANDINFO above) and indeed the message also works
for CommandBands.


Regards,
Carsten Sorensen

Attachment: commctrl.h.2.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to