Guide API
Skip to main content

CD_HELP_BUTTON

Constant CD_HELP_BUTTON 

Source
pub const CD_HELP_BUTTON: u16 = 0x0002;
Expand description

Add a “Help” button to the ChDirDialog.

Pass this flag in opts to ChDirDialog::new to insert an extra Help button that posts Command::HELP. Omit it (or use CD_NORMAL) when context-sensitive help is not needed. As with FD_HELP_BUTTON, the command reaches only the modal dialog: handle it in a view that embeds the dialog, not at program level.