Ok, it WAS working, but now it gives an error and forces me to close the app at the line of code with the arrow....
Code:LOGFONT lf; lf.lfCharSet = DEFAULT_CHARSET; HDC hhdc = GetWindowDC(hMainDialog); -------> EnumFontFamiliesEx(hhdc, &lf, (FONTENUMPROC) EnumFontFamExProc, (LPARAM)NULL, 0); ReleaseDC(hMainDialog, hhdc);




Reply With Quote