hello,
i use the following code to open a file (by user request)
WCHAR wszFile[MAX_PATH] = L"\0";
OPENFILENAME ofn = {0};
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
ofn.lpstrFile = wszFile;
ofn.nMaxFile = MAX_PATH;
ofn.lpstrFilter = L"All\0*.*\0Text\0*.TXT\0";//L"All (*.*)\0*.*\0";
ofn.lpstrTitle = L"Open GPX File";
ofn.Flags = OFN_EXPLORER | OFN_NOCHANGEDIR;
ofn.lpstrInitialDir = NULL;
if (GetOpenFileName(&ofn))
ShowInfo(hwnd, ofn.lpstrFile);
in the openMenue i cound't change the directory to myStorageCard???
and i see not all directorys.
anyone a hint.
Thomas