Here is an interesting thing -
BOOL SetToolbarImage(HWND hwnd,int button, int image)
{ BOOL RetVal = FALSE;
//BookMark [{Bug?}]
RetVal = ToolBar_ChangeBitmap(hwnd,button,image)
ToolBar_AutoSize(hwnd);
return RetVal;
}/* end settoolbarimage */
This compiles without error in Pelles C . . . notice the absence of the semicolon
------
Granted this define adds a semicolon - but is that still within the C guidelines?
#define ToolBar_ChangeBitmap(hwnd,idButton,iBitmap) (BOOL)SNDMSG((hwnd),TB_CHANGEBITMAP,(WPARAM)(idButton),(LPARAM)(iBitmap));
John Z