Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
CHeaderCtrl *header=list.GetHeaderCtrl( ); HWND hwnd=header->GetSafeHwnd(); HDC hDC=::GetDC(hwnd); CFont font; LOGFONT lf; memset(&lf, 0, sizeof(LOGFONT)); zero out structure lf.lfHeight = 6; request a 12-pixel-height font strcpy(lf.lfFaceName, "Arial Narrow"); request a face name "Arial" VERIFY(font.CreateFontIndirect(&lf)); create the font header->SetFont( &font); ::SelectObject( hDC, (HFONT) font); ::ReleaseDC(hwnd,hDC);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.