Carsten Sørensen wrote: > 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. > >
Perfect, I've checked this in with some minor formatting fixes, and with the following change log entry. 2007-05-31 Carsten Sørensen <[EMAIL PROTECTED]> * include/commctrl.h (tagREBARBANDINFOA, tagREBARBANDINFOW) [_WIN32_WCE]: Hide cxHeader field. (CMDBAR_HELP, CMDBAR_OK): Define. (tagCOMMANDBANDSRESTOREINFO, COMMANDBANDSRESTOREINFO, LPCOMMANDBANDSRESTOREINFO): Define. (CommandBands_AddAdornments, CommandBands_AddBands, CommandBands_Create, CommandBands_GetCommandBar, CommandBands_GetRestoreInformation, CommandBands_Show): Define. (Carsten, we always require a change log entry. The format we use is the one specified in the GNU coding conventions.) Thanks, Cheers, Pedro Alves ------------------------------------------------------------------------- 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