Struct winsafe::TASKDIALOGCONFIG
source · #[repr(C, packed(1))]pub struct TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> {
pub hwndParent: HWND,
pub hInstance: HINSTANCE,
pub dwFlags: TDF,
pub dwCommonButtons: TDCBF,
pub nDefaultButton: i32,
pub nDefaultRadioButton: i32,
pub pfCallback: Option<PFTASKDIALOGCALLBACK>,
pub lpCallbackData: usize,
pub cxWidth: u32,
/* private fields */
}
Available on crate feature
comctl
only.Expand description
TASKDIALOGCONFIG
struct.
Fields§
§hwndParent: HWND
§hInstance: HINSTANCE
§dwFlags: TDF
§dwCommonButtons: TDCBF
§nDefaultButton: i32
§nDefaultRadioButton: i32
§pfCallback: Option<PFTASKDIALOGCALLBACK>
§lpCallbackData: usize
§cxWidth: u32
Implementations§
source§impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
sourcepub fn pszWindowTitle(&self) -> Option<String>
pub fn pszWindowTitle(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszWindowTitle(&mut self, buf: Option<&'a mut WString>)
pub fn set_pszWindowTitle(&mut self, buf: Option<&'a mut WString>)
Sets the string field.
sourcepub fn pszMainIcon(&self) -> IconIdTdicon
pub fn pszMainIcon(&self) -> IconIdTdicon
Returns the pszMainIcon
field.
sourcepub fn set_pszMainIcon(&mut self, val: IconIdTdicon)
pub fn set_pszMainIcon(&mut self, val: IconIdTdicon)
Sets the pszMainIcon
field.
sourcepub fn pszMainInstruction(&self) -> Option<String>
pub fn pszMainInstruction(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszMainInstruction(&mut self, buf: Option<&'b mut WString>)
pub fn set_pszMainInstruction(&mut self, buf: Option<&'b mut WString>)
Sets the string field.
sourcepub fn pszContent(&self) -> Option<String>
pub fn pszContent(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszContent(&mut self, buf: Option<&'c mut WString>)
pub fn set_pszContent(&mut self, buf: Option<&'c mut WString>)
Sets the string field.
sourcepub fn pButtons(&self) -> Option<&'d mut [TASKDIALOG_BUTTON<'_>]>
pub fn pButtons(&self) -> Option<&'d mut [TASKDIALOG_BUTTON<'_>]>
Returns the array field.
sourcepub fn set_pButtons(&mut self, buf: Option<&'d mut [TASKDIALOG_BUTTON<'_>]>)
pub fn set_pButtons(&mut self, buf: Option<&'d mut [TASKDIALOG_BUTTON<'_>]>)
Sets the array field.
sourcepub fn pRadioButtons(&self) -> Option<&'e mut [TASKDIALOG_BUTTON<'_>]>
pub fn pRadioButtons(&self) -> Option<&'e mut [TASKDIALOG_BUTTON<'_>]>
Returns the array field.
sourcepub fn set_pRadioButtons(
&mut self,
buf: Option<&'e mut [TASKDIALOG_BUTTON<'_>]>
)
pub fn set_pRadioButtons( &mut self, buf: Option<&'e mut [TASKDIALOG_BUTTON<'_>]> )
Sets the array field.
sourcepub fn pszVerificationText(&self) -> Option<String>
pub fn pszVerificationText(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszVerificationText(&mut self, buf: Option<&'f mut WString>)
pub fn set_pszVerificationText(&mut self, buf: Option<&'f mut WString>)
Sets the string field.
sourcepub fn pszExpandedInformation(&self) -> Option<String>
pub fn pszExpandedInformation(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszExpandedInformation(&mut self, buf: Option<&'g mut WString>)
pub fn set_pszExpandedInformation(&mut self, buf: Option<&'g mut WString>)
Sets the string field.
sourcepub fn pszExpandedControlText(&self) -> Option<String>
pub fn pszExpandedControlText(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszExpandedControlText(&mut self, buf: Option<&'h mut WString>)
pub fn set_pszExpandedControlText(&mut self, buf: Option<&'h mut WString>)
Sets the string field.
sourcepub fn pszCollapsedControlText(&self) -> Option<String>
pub fn pszCollapsedControlText(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszCollapsedControlText(&mut self, buf: Option<&'i mut WString>)
pub fn set_pszCollapsedControlText(&mut self, buf: Option<&'i mut WString>)
Sets the string field.
Returns the pszFooterIcon
field.
Sets the pszFooterIcon
field.
Returns the string field, if any.
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> Freeze for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> RefUnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !Send for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !Sync for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> Unpin for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !UnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
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