Click here to Skip to main content
15,902,939 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionHelp With Change Pin
klutez12319-Mar-06 11:06
klutez12319-Mar-06 11:06 
AnswerRe: Help With Change Pin
Douglas Dean24-Mar-06 4:27
Douglas Dean24-Mar-06 4:27 
Questionmemcpy() and Structs in MC++ Pin
ScottLeff18-Mar-06 21:42
ScottLeff18-Mar-06 21:42 
AnswerRe: memcpy() and Structs in MC++ Pin
2bee 30-Mar-06 19:56
2bee 30-Mar-06 19:56 
QuestionBest Practice for Unmanaged C++ Callbacks to C# Pin
Halloko17-Mar-06 22:14
Halloko17-Mar-06 22:14 
Questionfor each Pin
John L. DeVito17-Mar-06 11:21
professionalJohn L. DeVito17-Mar-06 11:21 
AnswerRe: for each Pin
George L. Jackson17-Mar-06 11:43
George L. Jackson17-Mar-06 11:43 
GeneralRe: for each Pin
John L. DeVito21-Mar-06 6:39
professionalJohn L. DeVito21-Mar-06 6:39 
Hey George,

I'm still working on this same problem, let me show you what I have:
<br />
for each(Control^ ctrl in this->AddCustomerFormSiteInformationGroupBox->Controls)<br />
            {<br />
                if (ctrl->GetType() == TextBox) {<br />
                    TextBox^ txt = safe_cast<TextBox^>(ctrl);<br />
<br />
                    if (txt->Text->Length > 0) {<br />
                        if (MessageBox::Show("Discard Changes?", "Confirm", MessageBoxButtons::YesNo, <br />
                            MessageBoxIcon::Warning) == ::DialogResult::Yes) <br />
                            this->Close();<br />
                    }<br />
                    else {<br />
                        this->Close();<br />
                    }<br />
                }<br />
            }<br />


I'm not sure what you're refering to with TextBox::typeid



Thanks,
John
GeneralRe: for each Pin
George L. Jackson21-Mar-06 11:49
George L. Jackson21-Mar-06 11:49 
QuestionRetrieving the CheckBox status from another application Pin
Virtek17-Mar-06 7:25
Virtek17-Mar-06 7:25 
AnswerRe: Retrieving the CheckBox status from another application Pin
Karim Mribti17-Mar-06 7:47
Karim Mribti17-Mar-06 7:47 
QuestionDifference Pin
HakunaMatada17-Mar-06 0:34
HakunaMatada17-Mar-06 0:34 
AnswerRe: Difference Pin
2bee 17-Mar-06 1:22
2bee 17-Mar-06 1:22 
QuestionAbstract class Object Creation Pin
Ramu Marriboina16-Mar-06 22:10
Ramu Marriboina16-Mar-06 22:10 
AnswerRe: Abstract class Object Creation Pin
2bee 16-Mar-06 23:07
2bee 16-Mar-06 23:07 
AnswerRe: Abstract class Object Creation Pin
toxcct17-Mar-06 0:30
toxcct17-Mar-06 0:30 
QuestionRetrieve unmanaged pointer from C++/CLI lib Pin
Jared McIntyre16-Mar-06 11:49
Jared McIntyre16-Mar-06 11:49 
AnswerRe: Retrieve unmanaged pointer from C++/CLI lib Pin
George L. Jackson16-Mar-06 14:56
George L. Jackson16-Mar-06 14:56 
AnswerRe: Parallel Port Programming Question Pin
George L. Jackson15-Mar-06 10:50
George L. Jackson15-Mar-06 10:50 
QuestionType check wont work properly Pin
Polity4h15-Mar-06 10:48
Polity4h15-Mar-06 10:48 
QuestionRe: Type check wont work properly Pin
2bee 16-Mar-06 10:28
2bee 16-Mar-06 10:28 
AnswerRe: Type check wont work properly Pin
Polity4h16-Mar-06 12:02
Polity4h16-Mar-06 12:02 
Questionmax characters of the type String Pin
Trankil15-Mar-06 5:51
Trankil15-Mar-06 5:51 
AnswerRe: max characters of the type String Pin
Nemanja Trifunovic15-Mar-06 6:28
Nemanja Trifunovic15-Mar-06 6:28 
JokeRe: max characters of the type String Pin
toxcct15-Mar-06 6:40
toxcct15-Mar-06 6:40 

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.