Guide API
Skip to main content

FD_REPLACE_BUTTON

Constant FD_REPLACE_BUTTON 

Source
pub const FD_REPLACE_BUTTON: u16 = 0x0004;
Expand description

Insert a “Replace” button that closes the dialog with the selected filename.

Signals the caller (via Command::FILE_REPLACE) that the user accepted an overwrite. Use for save-as dialogs alongside FD_OK_BUTTON (the user can click OK without overwrite confirmation, or Replace to explicitly confirm).

§Turbo Vision heritage

Ports fdReplaceButton (tfileinp.h).