rc = MPanel.rcMessage; tmp = (rc.bottom-rc.top+1)/2; MPanel.hFontMessage = CreateFont(tmp*2,tmp,0,0,FW_DONTCARE,FALSE,FALSE,FALSE, DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY, FIXED_PITCH | FF_DONTCARE,MPanel.FontLangFixed);
static void MPanelInit(HWND hwnd){	RECT rc;	gdi_lock(); // gdi_lock	MPanel.hwnd = hwnd;	MPanel.hParentWnd = GetParent(MPanel.hwnd);	GetClientRect(MPanel.hParentWnd,&rc);	MoveWindow(MPanel.hwnd,0,0,rc.right-rc.left,rc.bottom-rc.top,FALSE);	MPanel.hdc = GetDC(MPanel.hwnd);	MPanel.hbitmap =  		CreateCompatibleBitmap(MPanel.hdc,MPANEL_XMAX,MPANEL_YMAX);	MPanel.hmdc =    	CreateCompatibleDC(MPanel.hdc);	MPanel.hgdiobj_hmdcprev = SelectObject(MPanel.hmdc,MPanel.hbitmap);	ReleaseDC(MPanel.hwnd,MPanel.hdc);	GetClientRect(MPanel.hwnd,&rc);	// RECT reft,top,right,bottom	SetRect(&(MPanel.rcMe),rc.left,rc.top,rc.right,rc.bottom);	rc = MPanel.rcMe;	SetRect(&(MPanel.rcTitle),	rc.left+2,	rc.top+2,				rc.right-2,				rc.top+2+14);	SetRect(&(MPanel.rcFile),	rc.left+2,	rc.top+2+14+1,		rc.right-2,				rc.top+2+14+1+12);	SetRect(&(MPanel.rcTime),	rc.left+2,	rc.top+2+14+1+12+1,	rc.left+2+180,		rc.top+2+14+1+12+1+25);	SetRect(&(MPanel.rcVoices), rc.right-2-36-1-24-48,	rc.top+2+14+1+12+1,	rc.right-2-36-1-24,	rc.top+2+14+1+12+1+12);	SetRect(&(MPanel.rcMVolume),rc.right-2-36,			rc.top+2+14+1+12+1,	rc.right-2,				rc.top+2+14+1+12+1+12);	SetRect(&(MPanel.rcRate), 	rc.right-2-60-1-18-48,	rc.top+2+14+1+12+1+12+1,	rc.right-2-60-1-18,	rc.top+2+14+1+12+1+12+1+12);	SetRect(&(MPanel.rcList),	rc.right-2-60,				rc.top+2+14+1+12+1+12+1,	rc.right-2,				rc.top+2+14+1+12+1+12+1+12);	SetRect(&(MPanel.rcMisc),	rc.left+2,	rc.top+2+14+1+12+1+25+1,rc.right-2,rc.top+2+14+1+12+1+25+1+12);	SetRect(&(MPanel.rcMessage),rc.left,rc.top,rc.right,rc.bottom);	MPanel.hFontTitle = NULL;	MPanel.hFontFile = NULL;	MPanel.hFontTime = NULL;	MPanel.hFontVoices = NULL;	MPanel.hFontMVolume = NULL;	MPanel.hFontRate = NULL;	MPanel.hFontList = NULL;//	strcpy(MPanel.Font,"Times New Roman");	strcpy(MPanel.Font,"Arial Bold");	switch(PlayerLanguage){   case LANGUAGE_ENGLISH:		strcpy(MPanel.FontLang,"Times New Roman");     	break;	default:	case LANGUAGE_JAPANESE:		strcpy(MPanel.FontLang,"lr o");		break;	}	rc = MPanel.rcTitle;	MPanel.hFontTitle =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.FontLang);	rc = MPanel.rcFile;	MPanel.hFontFile =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.FontLang);	rc = MPanel.rcTime;	MPanel.hFontTime =		CreateFont(24,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);	rc = MPanel.rcVoices;	MPanel.hFontVoices =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);	rc = MPanel.rcMVolume;	MPanel.hFontMVolume =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);	rc = MPanel.rcRate;	MPanel.hFontRate =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);	rc = MPanel.rcList;	MPanel.hFontList =		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);	rc = MPanel.rcMisc;	MPanel.hFontMisc =#if 0		CreateFont(rc.bottom-rc.top,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	DEFAULT_PITCH | FF_DONTCARE,MPanel.Font);#else		CreateFont(rc.bottom-rc.top,(rc.bottom-rc.top)/2,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,			DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,      	FIXED_PITCH | FF_DONTCARE,MPanel.Font);#endif	MPanelOK = 1;	gdi_unlock(); // gdi_lock}