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

Managed C++/CLI

 
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 
AnswerRe: mixed types are not supported? Pin
Mark Salsbery29-Aug-07 8:07
Mark Salsbery29-Aug-07 8:07 
QuestionMaking Dialog Boxes Modal Pin
gunner_uk200029-Aug-07 5:58
gunner_uk200029-Aug-07 5:58 
2 classes which are dialogues.

On the 1st dialog, I have button that when pressed opens another dialog. I can't work out how to make the second one modal.

I'm calling the second Dialog boxes show() method in the DlgProc method as below.

LRESULT CALLBACK ExodusDisplayOptions::DlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam){<br />
	//TODO: Comment and clean up.<br />
	switch(message)<br />
    {<br />
		case WM_INITDIALOG:<br />
		{<br />
			//do some stuff<br />
		}<br />
		break;<br />
        case WM_DESTROY:<br />
            PostQuitMessage(0);<br />
		break;<br />
		case WM_COMMAND:<br />
		{<br />
			switch (LOWORD(wParam))<br />
			{<br />
			case WM_CLOSE:				<br />
				return (TRUE);<br />
			break;<br />
			case IDC_CLOSE:<br />
				EndDialog(hDlg, LOWORD(wParam));<br />
				return (TRUE);<br />
			break;<br />
			case IDC_BUTTONDISPLAY:<br />
				ExodusHazardDisplayOptions *haz = new ExodusHazardDisplayOptions(m_this, m_opts);<br />
				bool i = haz->Show();<br />
			break;<br />
<br />
<br />
			}<br />
<br />
			<br />
		}	<br />
        break;<br />
        default:<br />
            return DefDlgProc(m_this, message, wParam, lParam);<br />
    }<br />
    return 0;<br />
}


Any ideas?
AnswerRe: Making Dialog Boxes Modal Pin
Mark Salsbery29-Aug-07 8:16
Mark Salsbery29-Aug-07 8:16 
QuestionCan not convert from short __gc* to short* Pin
Thanks for all the fish28-Aug-07 23:41
Thanks for all the fish28-Aug-07 23:41 
AnswerRe: Can not convert from short __gc* to short* Pin
led mike29-Aug-07 5:16
led mike29-Aug-07 5:16 
GeneralRe: Can not convert from short __gc* to short* Pin
Mark Salsbery29-Aug-07 8:17
Mark Salsbery29-Aug-07 8:17 
GeneralRe: Can not convert from short __gc* to short* Pin
George L. Jackson29-Aug-07 12:05
George L. Jackson29-Aug-07 12:05 
GeneralRe: Can not convert from short __gc* to short* Pin
Mark Salsbery29-Aug-07 12:45
Mark Salsbery29-Aug-07 12:45 
GeneralRe: Can not convert from short __gc* to short* Pin
George L. Jackson29-Aug-07 13:00
George L. Jackson29-Aug-07 13:00 
QuestionCalling into .NET Class Lib from a C++ app Pin
concoran28-Aug-07 21:04
concoran28-Aug-07 21:04 
AnswerRe: Calling into .NET Class Lib from a C++ app Pin
led mike29-Aug-07 5:13
led mike29-Aug-07 5:13 
GeneralRe: Calling into .NET Class Lib from a C++ app Pin
concoran30-Aug-07 14:05
concoran30-Aug-07 14:05 
GeneralRe: Calling into .NET Class Lib from a C++ app Pin
led mike31-Aug-07 4:20
led mike31-Aug-07 4:20 
QuestionC++/CLI Zooming Pin
BuckBrown28-Aug-07 12:45
BuckBrown28-Aug-07 12:45 
AnswerRe: C++/CLI Zooming Pin
Luc Pattyn28-Aug-07 12:49
sitebuilderLuc Pattyn28-Aug-07 12:49 
GeneralRe: C++/CLI Zooming Pin
BuckBrown29-Aug-07 13:02
BuckBrown29-Aug-07 13:02 
GeneralRe: C++/CLI Zooming [modified] Pin
Luc Pattyn29-Aug-07 13:17
sitebuilderLuc Pattyn29-Aug-07 13:17 
GeneralRe: C++/CLI Zooming Pin
Mark Salsbery29-Aug-07 14:18
Mark Salsbery29-Aug-07 14:18 
GeneralRe: C++/CLI Zooming Pin
Luc Pattyn29-Aug-07 15:41
sitebuilderLuc Pattyn29-Aug-07 15:41 

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.