|
-
August 25th, 1999, 03:41 AM
#1
CFileDialog
Hi,
why is the following code not working? I get a debug assertion fault:
CFileDialog dlgLoad(TRUE);
dlgLoad.m_ofn.lpstrFilter = "HTML-Dateien\0*.htm;*.html";
dlgLoad.m_ofn.lpstrFile = "*.htm;*.html";
dlgLoad.m_ofn.lpstrInitialDir = "C:\\Eigene Dateien";
dlgLoad.m_ofn.Flags = OFN_HIDEREADONLY;
dlgLoad.DoModal();
If I remove the lines with Flags and lptstrFile, everything is fine.
Where's the problem?
TIA,
Fox20
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|