Setting font on a CFileDialog
-
Hi, I'm trying to figure out a way to change the font used within the list control that is embedded inside the CFileDialog. As I understand it, it's resource id is "lst1", but how can I set the font used to display the files, let's say, in my override "OnInitDialog"? (I'm inheriting from CFileDialog). Thanks in advance.
-
Hi, I'm trying to figure out a way to change the font used within the list control that is embedded inside the CFileDialog. As I understand it, it's resource id is "lst1", but how can I set the font used to display the files, let's say, in my override "OnInitDialog"? (I'm inheriting from CFileDialog). Thanks in advance.
-
Hi, I'm trying to figure out a way to change the font used within the list control that is embedded inside the CFileDialog. As I understand it, it's resource id is "lst1", but how can I set the font used to display the files, let's say, in my override "OnInitDialog"? (I'm inheriting from CFileDialog). Thanks in advance.
You should be able to CWnd* pWnd = GetDlgItem(); ASSERT(pWnd); pWnd->SetFont();
-
You should be able to CWnd* pWnd = GetDlgItem(); ASSERT(pWnd); pWnd->SetFont();