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

Managed C++/CLI

 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Mark Salsbery3-Sep-07 12:14
Mark Salsbery3-Sep-07 12:14 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
6530573372-Sep-07 4:19
6530573372-Sep-07 4:19 
Questionload GIF file in the turbo c++ Pin
mahdiehIR1-Sep-07 3:51
mahdiehIR1-Sep-07 3:51 
AnswerRe: load GIF file in the turbo c++ Pin
Mark Salsbery1-Sep-07 7:59
Mark Salsbery1-Sep-07 7:59 
QuestionWhy two vfptr incase of virtual inhertance? Pin
Sameer_Thakur31-Aug-07 19:38
Sameer_Thakur31-Aug-07 19:38 
AnswerRe: Why two vfptr incase of virtual inhertance? Pin
prasad_som1-Sep-07 3:59
prasad_som1-Sep-07 3:59 
QuestionAccess between classes Pin
BuckBrown31-Aug-07 10:47
BuckBrown31-Aug-07 10:47 
AnswerRe: Access between classes Pin
Gammill31-Aug-07 10:57
Gammill31-Aug-07 10:57 
I pass events.
I create delgates and events

Here is part of a help note I created for myself some time back
(May be just a bit over blown or out of date.)


-------------------------------------------------------------------------
Friday, September 08, 2006 5:04:17 PM

Problem: A form needs data back from its dialog prior to its close
One control needs to pass data to another control
[some cut]

II. A close dialog event -- the dialog closes and the form is told of the closeure

In the dialog

this->FormClosed += gcnew System::Windows::Forms::FormClosedEventHandler(this, &AddColorDialog::AddColorDialog_FormClosed);

private: System::Void AddColorDialog_FormClosed(System::Object^ sender, System::Windows::Forms::FormClosedEventArgs^ e)
{
AddColorDiagCloseEvent();
}

public: delegate void AddColorDiagCloseEventHandler(void);
public: event AddColorDiagCloseEventHandler^ AddColorDiagCloseEvent;

In the form

AddColorDiag->AddColorDiagCloseEvent += gcnew WSColorTabLib::AddColorDialog::AddColorDiagCloseEventHandler(this, &WSColorTabLib::WSColorTab::AddColorDiagClosed);

void AddColorDiagClosed(void)
{
// From AddColorDiagCloseEventHandler in AddColorDialog
if (AddColorDiag)
{
delete AddColorDiag;
AddColorDiag = nullptr;
}
}









WedgeSoft

QuestionHowTo: Create MFC CDialog from Win Forms Pin
Gammill31-Aug-07 9:39
Gammill31-Aug-07 9:39 
AnswerRe: HowTo: Create MFC CDialog from Win Forms Pin
Gammill31-Aug-07 10:49
Gammill31-Aug-07 10:49 
QuestionIdentification of batch file name/path Pin
Jack Rong30-Aug-07 4:54
Jack Rong30-Aug-07 4:54 
QuestionI Need to make the CListCtrl non sortable at run time Pin
Javed Akhtar Ansari30-Aug-07 0:49
Javed Akhtar Ansari30-Aug-07 0:49 
AnswerRe: I Need to make the CListCtrl non sortable at run time Pin
sps-itsec4630-Aug-07 1:31
sps-itsec4630-Aug-07 1:31 
QuestionWarnings in c++/cli that make me a lot of headache Pin
hansipet29-Aug-07 23:07
hansipet29-Aug-07 23:07 
AnswerRe: Warnings in c++/cli that make me a lot of headache Pin
George L. Jackson30-Aug-07 1:53
George L. Jackson30-Aug-07 1:53 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
hansipet30-Aug-07 2:19
hansipet30-Aug-07 2:19 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
George L. Jackson30-Aug-07 2:53
George L. Jackson30-Aug-07 2:53 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
hansipet30-Aug-07 20:19
hansipet30-Aug-07 20:19 
QuestionRe: Warnings in c++/cli that make me a lot of headache Pin
George L. Jackson31-Aug-07 0:07
George L. Jackson31-Aug-07 0:07 
AnswerRe: Warnings in c++/cli that make me a lot of headache Pin
hansipet31-Aug-07 1:57
hansipet31-Aug-07 1:57 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
George L. Jackson31-Aug-07 9:25
George L. Jackson31-Aug-07 9:25 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
hansipet1-Sep-07 8:55
hansipet1-Sep-07 8:55 
GeneralRe: Warnings in c++/cli that make me a lot of headache Pin
George L. Jackson30-Aug-07 3:51
George L. Jackson30-Aug-07 3:51 
Questionmixed types are not supported? Pin
Rui A Sousa29-Aug-07 6:45
Rui A Sousa29-Aug-07 6:45 
AnswerRe: mixed types are not supported? Pin
led mike29-Aug-07 7:06
led mike29-Aug-07 7:06 

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.