Global Mapper SDK
GM_SelectFile
Displays a file dialog that allows the user to select a file to load.
Syntax
C++
Copy
GM_Error_t32 GM_SelectFile
(
char* aFilename, // buffer in which to place selected filename (must be at least _MAX_PATH characters in length)
const char* aFilterStr, // filter string for open dialog (NULL for default)
const char* aInitialDir,// initial directory to start in (NULL for current)
HWND aParentWnd // handle to parent window for file selection dialog
);