sprintf(buffer,"%c",i+'A'-1); 
sprintf(buffer,"[%c]",i+'A'-1); 
static void CanvasKeyboardClear(void){	int i;	HPEN hPen;	HBRUSH hBrush;	HGDIOBJ hgdiobj_hpen, hgdiobj_hbrush;	COLORREF FGcolor, BGcolor;	HFONT hfont;   HGDIOBJ hgdiobj;	RECT rc;	char buffer[16];	if(!CanvasOK)   	return; 	gdi_lock(); // gdi_lock#if 0	hPen = CreatePen(PS_SOLID,1,CanvasColor(CC_BACK));	hBrush = CreateSolidBrush(CanvasColor(CC_BACK));#else	FGcolor = RGB(0xff,0xff,0xff);   BGcolor = RGB(0x00,0x00,0x00);	hPen = CreatePen(PS_SOLID,1,BGcolor);	hBrush = CreateSolidBrush(BGcolor);#endif	hgdiobj_hpen = SelectObject(Canvas.hmdc, hPen);	hgdiobj_hbrush = SelectObject(Canvas.hmdc, hBrush);	Rectangle(Canvas.hmdc,   	Canvas.rcMe.left,Canvas.rcMe.top,Canvas.rcMe.right,Canvas.rcMe.bottom);	SelectObject(Canvas.hmdc, hgdiobj_hpen);	DeleteObject(hPen);	SelectObject(Canvas.hmdc, hgdiobj_hbrush);	DeleteObject(hBrush);	hfont = CreateFont(7,7,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,		DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,     	DEFAULT_PITCH | FF_DONTCARE,"Arial Bold");	hgdiobj = SelectObject(Canvas.hmdc,hfont);   SetTextAlign(Canvas.hmdc, TA_LEFT | TA_TOP | TA_NOUPDATECP);	rc.left =	Canvas.rcMe.left+1 ;	rc.top =		Canvas.rcMe.bottom-7;	rc.right =	Canvas.rcMe.left+1 + 40;	rc.bottom =	Canvas.rcMe.bottom;	SetTextColor(Canvas.hmdc,RGB(0xff,0xff,0xff));	SetBkColor(Canvas.hmdc,RGB(0x00,0x00,0x00));	strcpy(buffer,"Part"); 	ExtTextOut(Canvas.hmdc,rc.left,rc.top,ETO_CLIPPED|ETO_OPAQUE,&rc, 		buffer,strlen(buffer),NULL);	for(i=1;i<=3;i++){		if(i==Canvas.CKPart){   		SetTextColor(Canvas.hmdc,RGB(0xff,0xff,0xff));   		SetBkColor(Canvas.hmdc,RGB(0x00,0x00,0x00));      } else {   		SetTextColor(Canvas.hmdc,RGB(0x80,0x80,0x80));   		SetBkColor(Canvas.hmdc,RGB(0x00,0x00,0x00));		}		rc.left =	Canvas.rcMe.left+1 + 40 + (i-1)*13;		rc.top =		Canvas.rcMe.bottom-7;		rc.right =	Canvas.rcMe.left+1 + 40 + (i)*13 - 1;		rc.bottom =	Canvas.rcMe.bottom;		sprintf(buffer,"%c",i+'A'-1); 	 	ExtTextOut(Canvas.hmdc,rc.left,rc.top,ETO_CLIPPED|ETO_OPAQUE,&rc,   		buffer,strlen(buffer),NULL);	}   if((HGDIOBJ)hgdiobj!=(HGDIOBJ)NULL && (HGDIOBJ)hgdiobj!=(HGDIOBJ)GDI_ERROR)   	SelectObject(Canvas.hmdc,hgdiobj);	DeleteObject(hfont);	CanvasKeyboardReset();	CanvasKeyboardReadPanelInfo(1);	CanvasKeyboardUpdate(1);	InvalidateRect(hCanvasWnd, NULL, FALSE);	gdi_unlock(); // gdi_lock}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b145888026ba74b152bd275692a491408aa2b59e/w32g_i.c/buggy/interface/w32g_i.c