yucad3d

CadRecentDialog

"Recent Files List" dialog (Vecad CadRecentDialog).

std::int32_t CadRecentDialog ( void* hWin, void* szOutFileName, std::int32_t* pbShowAtStartup );

Parameters

hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).
szOutFileName (void*)
NUL-terminated UTF-8 string.
pbShowAtStartup (std::int32_t*)
Caller-supplied output pointer.

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

Remarks

Lists the MRU files + a "Show at startup" checkbox. On OK the chosen path is copied into szOutFileName (UTF-8, caller-allocated) and the checkbox state into *pbShowAtStartup; the HOST then opens the file (matching Vecad). Returns 1 if a file was picked, 0 on cancel / empty list.

See Also