Guide API
Skip to main content

FD_NO_LOAD_DIR

Constant FD_NO_LOAD_DIR 

Source
pub const FD_NO_LOAD_DIR: u16 = 0x0100;
Expand description

Skip the initial directory read when the dialog opens.

By default FileDialog::reset_current reads the process current directory into the file list on first show. Pass FD_NO_LOAD_DIR to suppress that read — useful when the dialog is constructed before its owner is on screen, or when the listing is populated by other means. May be OR-ed with any button flag combination.

§Turbo Vision heritage

Ports fdNoLoadDir (tfileinp.h).