Link to home
Start Free TrialLog in
Avatar of leowlf
leowlf

asked on

Customised CFileDialog does not get refresh

VC5-SP3, on NT4-SP6.

I am attaching a template to the CFileDialog.

m_ofn.Flags |= (OFN_EXPLORER | OFN_ENABLETEMPLATE | OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST );

m_ofn.lpTemplateName = MAKEINTRESOURCE( IDD_MYDIALOG_TPT );

Every thing works file except when i Domodal(), not the whole CFileDialog window get 'refresh'. E.g. when i select another directory in the browser, the buttons, combo boxes, etc would disappeared.  

Any idea whats wrong?
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial