Struct winsafe::TASKDIALOGCONFIG
source · pub struct TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> {Show 21 fields
pub hwnd_parent: Option<&'a HWND>,
pub hinstance: Option<&'b HINSTANCE>,
pub flags: TDF,
pub common_buttons: TDCBF,
pub window_title: Option<&'c str>,
pub main_icon: IconIdTd<'d>,
pub main_instruction: Option<&'e str>,
pub content: Option<&'f str>,
pub buttons: &'g [(u16, &'h str)],
pub default_button_id: u16,
pub radio_buttons: &'i [(u16, &'j str)],
pub default_radio_button_id: u16,
pub verification_text: Option<&'k str>,
pub more_info: Option<&'l str>,
pub more_info_btn_expanded: Option<&'m str>,
pub more_info_btn_collapsed: Option<&'n str>,
pub footer_icon: IconId<'o>,
pub footer_text: Option<&'p str>,
pub callback: Option<PFTASKDIALOGCALLBACK>,
pub callback_data: usize,
pub width: u32,
}
Available on crate feature
comctl
only.Expand description
TASKDIALOG_BUTTON
struct.
Not all flags
constants are available, some of them are automatically set
as you fill other parameters.
Fields§
§hwnd_parent: Option<&'a HWND>
§hinstance: Option<&'b HINSTANCE>
§flags: TDF
Predefined buttons. Will be placed after the custom buttons
.
window_title: Option<&'c str>
Window caption. If not specified, the .exe name is used.
main_icon: IconIdTd<'d>
§main_instruction: Option<&'e str>
Text shown before the main content, in a larger font.
content: Option<&'f str>
The main text of the dialog.
Command ID and button text. Will be placed before the predefined
common_buttons
.
Any ID from common_buttons
or buttons
.
Command ID and radio button text.
Any ID from radio_buttons
.
verification_text: Option<&'k str>
Text of the label of the verification check box.
more_info: Option<&'l str>
Text of the collapsible section.
more_info_btn_expanded: Option<&'m str>
Text of the button that expands/collapses more_info
, when the section
is expanded.
more_info_btn_collapsed: Option<&'n str>
Text of the button that expands/collapses more_info
, when the section
is collapsed.
callback: Option<PFTASKDIALOGCALLBACK>
§callback_data: usize
§width: u32
Trait Implementations§
source§impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> Default for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> Default for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
source§fn default(
) -> TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
fn default( ) -> TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> Freeze for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> RefUnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> !Send for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> !Sync for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> Unpin for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p> UnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more