如何改变MFC日历控件Calendar Control的显示大小
1个回答
展开全部
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT));
lf.lfHeight = 48;
strcpy(lf.lfFaceName, "Arial");
m_hFont=CreateFontIndirect(&lf); // create the font
DateTime_SetMonthCalFont(m_hPick,m_hFont,MAKELONG(TRUE,0));
memset(&lf, 0, sizeof(LOGFONT));
lf.lfHeight = 48;
strcpy(lf.lfFaceName, "Arial");
m_hFont=CreateFontIndirect(&lf); // create the font
DateTime_SetMonthCalFont(m_hPick,m_hFont,MAKELONG(TRUE,0));
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询