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

Managed C++/CLI

 
GeneralRe: Between Two forms Pin
jashimu8-Sep-10 8:39
jashimu8-Sep-10 8:39 
GeneralRe: Between Two forms Pin
Luc Pattyn8-Sep-10 9:02
sitebuilderLuc Pattyn8-Sep-10 9:02 
AnswerRe: Between Two forms Pin
rikterveen12-Sep-10 1:39
rikterveen12-Sep-10 1:39 
AnswerRe: Between Two forms Pin
N a v a n e e t h12-Sep-10 19:17
N a v a n e e t h12-Sep-10 19:17 
QuestionResizing the windows media player activex problem Pin
raj157631-Aug-10 2:00
raj157631-Aug-10 2:00 
QuestionHow to instantiate winforms in MFC dynamically, [CWinFormsControl, CWinFormsView etc are template classes which needs compile time declarations for managed controls to be instantiated] Pin
Member 443395430-Aug-10 22:22
Member 443395430-Aug-10 22:22 
AnswerRe: How to instantiate winforms in MFC dynamically, [CWinFormsControl, CWinFormsView etc are template classes which needs compile time declarations for managed controls to be instantiated] Pin
Rolf Kristensen20-Sep-10 10:06
Rolf Kristensen20-Sep-10 10:06 
QuestionRunModalLoop thread Pin
spidolino30-Aug-10 20:59
spidolino30-Aug-10 20:59 
Hi!

I click on a button and a popup(style) dialog appears. I then call a runmodalloop function which recieves a certain amount of data and after it finishes the main window refreshes and shows the data. What i would like to do is, have access to the main window while the runmodallloop is active ( dialog runs in the background). I tried with starting a new thread, and putting the function in it but it won't give me access. Afterwards i made the dialog as a child and set the main wnd as the parent.And after the child finished with the modal loop the program frooze.

Code:

CWinThread *pThread2 = AfxBeginThread(CMainWnd::GetData, &dialog,0,CREATE_SUSPENDED);
pThread2->Run();

UINT CMainWnd::GetData(LPVOID lpDialog)
{
ASSERT( lpDeliverWizard);
CDialog *dialog1 = (CDialog *) lpDialog;
CWnd * hwnd = dialog1->GetOwner();
dialog1->SetParent(hwnd);
dialog1->RunModalLoop();
return 0;

}

Any suggestions?
AnswerRe: RunModalLoop thread Pin
Luc Pattyn31-Aug-10 2:28
sitebuilderLuc Pattyn31-Aug-10 2:28 
QuestionAsynchrone Telnet Client does receive but will not send [modified] Pin
rikterveen29-Aug-10 3:33
rikterveen29-Aug-10 3:33 
Answersize Pin
Luc Pattyn29-Aug-10 4:01
sitebuilderLuc Pattyn29-Aug-10 4:01 
GeneralRe: size - Source code for download, anyone with an idea? [modified] Pin
rikterveen29-Aug-10 4:30
rikterveen29-Aug-10 4:30 
Questionunmanaged calls starting from Internet Explorer always enters Default App domain [modified] Pin
Venkatesh Laguduva27-Aug-10 1:10
Venkatesh Laguduva27-Aug-10 1:10 
Questiondelete dataGridView row [modified] Pin
jashimu23-Aug-10 4:54
jashimu23-Aug-10 4:54 
AnswerRe: delete dataGridView row Pin
Andreoli Carlo25-Aug-10 20:48
professionalAndreoli Carlo25-Aug-10 20:48 
GeneralRe: delete dataGridView row Pin
jashimu26-Aug-10 3:24
jashimu26-Aug-10 3:24 
AnswerRe: delete dataGridView row Pin
Luc Pattyn26-Aug-10 4:27
sitebuilderLuc Pattyn26-Aug-10 4:27 
QuestionProblem with accessing MS Access Date field with C++/CLI Pin
Dirkus Maximus22-Aug-10 20:37
Dirkus Maximus22-Aug-10 20:37 
AnswerRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn23-Aug-10 1:41
sitebuilderLuc Pattyn23-Aug-10 1:41 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Dirkus Maximus23-Aug-10 16:28
Dirkus Maximus23-Aug-10 16:28 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn23-Aug-10 16:56
sitebuilderLuc Pattyn23-Aug-10 16:56 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Dirkus Maximus23-Aug-10 20:09
Dirkus Maximus23-Aug-10 20:09 
AnswerRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn24-Aug-10 0:45
sitebuilderLuc Pattyn24-Aug-10 0:45 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Dirkus Maximus24-Aug-10 15:43
Dirkus Maximus24-Aug-10 15:43 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn24-Aug-10 16:31
sitebuilderLuc Pattyn24-Aug-10 16:31 

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.