Click here to Skip to main content
14,456,475 members

Managed C++/CLI

 
AnswerRe: Casting problem (String* to LPCVOID) Pin
Michael Dunn20-Jul-06 6:58
sitebuilderMichael Dunn20-Jul-06 6:58 
QuestionSearching through a file [modified] Pin
Mphot19-Jul-06 22:56
MemberMphot19-Jul-06 22:56 
AnswerRe: Searching through a file Pin
NrmMyth20-Jul-06 1:51
MemberNrmMyth20-Jul-06 1:51 
QuestionConvert COM component to C++ managed Assembly Pin
Paul Farry18-Jul-06 21:52
professionalPaul Farry18-Jul-06 21:52 
QuestionProblems adding textbox data into sql String Pin
vincent7_618-Jul-06 14:49
Membervincent7_618-Jul-06 14:49 
AnswerRe: Problems adding textbox data into sql String Pin
led mike18-Jul-06 18:35
Memberled mike18-Jul-06 18:35 
AnswerRe: Problems adding textbox data into sql String Pin
Eric Dahlvang24-Jul-06 13:16
MemberEric Dahlvang24-Jul-06 13:16 
QuestionCommunicating with top level form Pin
mrhonus18-Jul-06 6:59
Membermrhonus18-Jul-06 6:59 
Using the designer to create the main form for an application generated the following code in the .cpp file:

int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA;
Application::Run(new DataForm(lpCmdLine));
return 0;
}

The DataForm class has a button which generates a new form:

linkedForm = new LinkedForm() ;

The LinkedForm class exists in the same namespace as the DataForm class.

What needs to be done to allow this child form to see public methods in it's parent, since a DataForm ptr cannot be declared globally? Are there any examples of parent/child form communications of this nature?


Thanks,
MrHonus

AnswerRe: Communicating with top level form Pin
led mike18-Jul-06 7:51
Memberled mike18-Jul-06 7:51 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 8:39
Membermrhonus18-Jul-06 8:39 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 9:38
Memberled mike18-Jul-06 9:38 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 10:17
Membermrhonus18-Jul-06 10:17 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 10:36
Memberled mike18-Jul-06 10:36 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 11:32
Membermrhonus18-Jul-06 11:32 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 12:01
Memberled mike18-Jul-06 12:01 
QuestionCall java from C++ Pin
Vamp18-Jul-06 2:36
MemberVamp18-Jul-06 2:36 
AnswerRe: Call java from C++ Pin
MonjSam21-Jul-06 14:14
MemberMonjSam21-Jul-06 14:14 
Questionabout Event Handler Pin
mertadin17-Jul-06 0:34
Membermertadin17-Jul-06 0:34 
QuestionHow to embed a resource in the assembly? Pin
Super Lloyd13-Jul-06 20:57
MemberSuper Lloyd13-Jul-06 20:57 
AnswerRe: How to embed a resource in the assembly? Pin
Super Lloyd13-Jul-06 21:05
MemberSuper Lloyd13-Jul-06 21:05 
QuestionVC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 2:43
MemberDave_Roach13-Jul-06 2:43 
QuestionRe: VC7 Preprocessor variables not working. Pin
Jun Du13-Jul-06 3:10
MemberJun Du13-Jul-06 3:10 
AnswerRe: VC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 4:08
MemberDave_Roach13-Jul-06 4:08 
GeneralRe: VC7 Preprocessor variables not working. [modified] Pin
Sebastian Schneider13-Jul-06 23:09
MemberSebastian Schneider13-Jul-06 23:09 
AnswerRe: VC7 Preprocessor variables not working. Pin
Jonathan [Darka]13-Jul-06 5:10
professionalJonathan [Darka]13-Jul-06 5:10 

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.