nop. You Need Install the Font, copy the file .ttf to C:windows/Fonts or $system$/Fonts Open ControlPanel->fontS go to menu File->Install New Font Choice your file .ttf for intall in windows
S
softwero
@softwero
Posts
-
How to Change the Font Dynamically on button control -
How to Change the Font Dynamically on button controlMira wey, necesitas poner: CMyView : public CFormView{ CFont fontButton; // }; CMyView::OnInitialUpdate(){ LOGFONT lf; memset(&lf,0,sizeof(lf)); lf.lfHeight=(int)(33); lf.lfWeight=FW_BOLD; strcpy(lf.lfFaceName,"Arial"); m_fontButton.CreateFontIndirect(&lf); GetDlgItem(IDC_MYBUTTON)->SetFont(&fontButton); }
-
convert a DWORD to BYTE[4]Hi
DWORD dwData=0x65A6;//any value BYTE arrDest[4]; memcpy(arrDest,&dwData,sizeof(DWORD));
:)