Click here to Skip to main content
16,007,885 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Collapsible PropertyGrid in bold. Pin
led mike25-Mar-08 9:41
led mike25-Mar-08 9:41 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk25-Mar-08 10:51
TheBerk25-Mar-08 10:51 
GeneralRe: Collapsible PropertyGrid in bold. Pin
led mike25-Mar-08 11:50
led mike25-Mar-08 11:50 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk26-Mar-08 4:14
TheBerk26-Mar-08 4:14 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk26-Mar-08 11:40
TheBerk26-Mar-08 11:40 
GeneralHelp with task in Microsoft Visual C++ express edition Pin
jackey_chan24-Mar-08 7:53
jackey_chan24-Mar-08 7:53 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
Christian Graus24-Mar-08 11:21
protectorChristian Graus24-Mar-08 11:21 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
jackey_chan25-Mar-08 7:29
jackey_chan25-Mar-08 7:29 
As I said I'm begginer and I created the following:
private: System::Void textBox1_MouseClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
DialogResult::get();
MessageBox::Show("Caption", "Message", MessageBoxButtons::YesNo, MessageBoxIcon::Question);
if(ShowDialog()==System::Windows::Forms::DialogResult::Yes)
{
//-----
this->textBox1->Text == L"Yes";
}
else if(ShowDialog()==System::Windows::Forms::DialogResult::No)
{
//---
this->textBox1->Text == L"No";
}
}
};
}
When I press F5 it gives me the folllowing error: "An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll

Additional information: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog." I make this but the textBox dissapears. I guess the wrong is here:this->textBox1->Text == L"Yes"; Help me pls???
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
Christian Graus25-Mar-08 10:05
protectorChristian Graus25-Mar-08 10:05 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
jackey_chan26-Mar-08 0:27
jackey_chan26-Mar-08 0:27 
Questionglobal managed string array Pin
ptr2void24-Mar-08 1:54
ptr2void24-Mar-08 1:54 
GeneralRe: global managed string array Pin
led mike24-Mar-08 4:44
led mike24-Mar-08 4:44 
GeneralRe: global managed string array Pin
Mark Salsbery24-Mar-08 6:31
Mark Salsbery24-Mar-08 6:31 
GeneralRe: global managed string array Pin
led mike24-Mar-08 7:05
led mike24-Mar-08 7:05 
GeneralRe: global managed string array Pin
Mark Salsbery24-Mar-08 7:10
Mark Salsbery24-Mar-08 7:10 
GeneralRe: global managed string array Pin
led mike24-Mar-08 7:15
led mike24-Mar-08 7:15 
GeneralRe: global managed string array Pin
ptr2void24-Mar-08 19:02
ptr2void24-Mar-08 19:02 
GeneralRe: global managed string array Pin
led mike25-Mar-08 6:29
led mike25-Mar-08 6:29 
GeneralRe: global managed string array Pin
som.nitk25-Mar-08 6:38
som.nitk25-Mar-08 6:38 
GeneralRe: global managed string array Pin
led mike25-Mar-08 10:08
led mike25-Mar-08 10:08 
GeneralRe: global managed string array Pin
Ri Qen-Sin29-Mar-08 13:35
Ri Qen-Sin29-Mar-08 13:35 
GeneralRe: global managed string array Pin
led mike31-Mar-08 5:31
led mike31-Mar-08 5:31 
GeneralRe: global managed string array Pin
Ri Qen-Sin1-Apr-08 8:37
Ri Qen-Sin1-Apr-08 8:37 
GeneralRe: global managed string array Pin
ptr2void24-Mar-08 18:57
ptr2void24-Mar-08 18:57 
GeneralArray conversion.. Pin
ptr2void23-Mar-08 23:34
ptr2void23-Mar-08 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.