
Help, comdlg OPEN doesn't work
What's wrong with the following:
LPOPENFILENAME openStruct;
openStruct->hwndOwner = hwndDlg;
openStruct->lpstrFilter = "*.*";
openStruct->nMaxFile = 256;
openStruct->Flags = OFN_LONGNAMES | OFN_PATHMUSTEXIST;
GetOpenFileName(openStruct);
When this code is run nothing happens. I was excpecting the "Open"
dialog box to appear???? I step through it and it just executes each
line and continues on to the next (including GetOpenFileName).
Thanks in advance.
Sent via Deja.com http://www.*-*-*.com/
Before you buy.