show dialog result?
- From: iwdu15 <iwdu15@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Aug 2005 09:41:02 -0700
hi, im a relative noob to C++ so im wondering how u can tell if the user
pushed the "ok" button on a show dialog, like the equivilent of VB.net's "if
showdialog = dialogresult.ok then
heres the code i have to show a savefiledialog
private: System::Void btnsave_Click(System::Object * sender,
System::EventArgs * e)
{
this ->saveFileDialog1->set_Filter("TXT *.txt|(*.txt)|Doc
*.doc|(*.doc)");
this ->saveFileDialog1->set_FilterIndex(0);
this->saveFileDialog1->ShowDialog();
}
};
--
-iwdu15
.
- Follow-Ups:
- Re: show dialog result?
- From: Frank Hickman [MVP]
- Re: show dialog result?
- Prev by Date: Encrypting passwords
- Next by Date: Re: Encrypting passwords
- Previous by thread: Encrypting passwords
- Next by thread: Re: show dialog result?
- Index(es):