Click here to Skip to main content
16,010,297 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Transfer Data between Dialog A and Dialog B Pin
18-Jul-01 6:05
suss18-Jul-01 6:05 
GeneralRe: How to Transfer Data between Dialog A and Dialog B Pin
SAV18-Jul-01 9:26
SAV18-Jul-01 9:26 
GeneralRe: How to Transfer Data between Dialog A and Dialog B Pin
SAV18-Jul-01 9:27
SAV18-Jul-01 9:27 
GeneralRe: How to Transfer Data between Dialog A and Dialog B Pin
SAV18-Jul-01 9:28
SAV18-Jul-01 9:28 
GeneralRe: How to Transfer Data between Dialog A and Dialog B Pin
SAV18-Jul-01 9:29
SAV18-Jul-01 9:29 
GeneralProblem with DoDataExchange Pin
Chris Klecker18-Jul-01 3:21
Chris Klecker18-Jul-01 3:21 
GeneralRe: Problem with DoDataExchange Pin
Tomasz Sowinski18-Jul-01 3:37
Tomasz Sowinski18-Jul-01 3:37 
GeneralRe: Problem with DoDataExchange Pin
Chris Klecker18-Jul-01 3:49
Chris Klecker18-Jul-01 3:49 
<small><br />
HWND CDataExchange::PrepareCtrl(int nIDC)<br />
{<br />
	ASSERT(nIDC != 0);<br />
	ASSERT(nIDC != -1); // not allowed<br />
	HWND hWndCtrl;<br />
	m_pDlgWnd->GetDlgItem(nIDC, &hWndCtrl);<br />
	if (hWndCtrl == NULL)<br />
	{<br />
		TRACE1("Error: no data exchange control with ID 0x%04X.\n", nIDC);<br />
		<big>ASSERT(FALSE); </big>    		   <br />
                AfxThrowNotSupportedException();<br />
	}<br />
	m_hWndLastControl = hWndCtrl;<br />
	m_bEditLastControl = FALSE; // not an edit item by default<br />
	ASSERT(hWndCtrl != NULL);   // never return NULL handle<br />
	return hWndCtrl;<br />
}<br />
</small>


Actually, it's a bug that causes the dog to eat my homework. Poke tongue | ;-P

It asserts out on the line I bolded above. I'm going to try and create a new dialog just for kicks and see if that dialog gives me problems.

Thanks for the help.



"Why are we hiding from the police, Daddy?"
"We use VI, son. They use Emacs."
GeneralRe: Problem with DoDataExchange Pin
Tomasz Sowinski18-Jul-01 3:53
Tomasz Sowinski18-Jul-01 3:53 
GeneralFollowup question Pin
Chris Klecker18-Jul-01 4:11
Chris Klecker18-Jul-01 4:11 
GeneralRe: Followup question Pin
Tomasz Sowinski18-Jul-01 4:23
Tomasz Sowinski18-Jul-01 4:23 
Questionhow to implement pop3 with VC++ Pin
PavanKumar Chatrathi18-Jul-01 1:16
PavanKumar Chatrathi18-Jul-01 1:16 
Questionhow to implement pop3 with VC++ Pin
PavanKumar Chatrathi18-Jul-01 1:10
PavanKumar Chatrathi18-Jul-01 1:10 
AnswerRe: how to implement pop3 with VC++ Pin
Igor Sukhov18-Jul-01 1:23
Igor Sukhov18-Jul-01 1:23 
Questionhow to implement pop3 with VC++ Pin
PavanKumar Chatrathi18-Jul-01 1:06
PavanKumar Chatrathi18-Jul-01 1:06 
AnswerRe: how to implement pop3 with VC++ Pin
Anders Molin18-Jul-01 2:44
professionalAnders Molin18-Jul-01 2:44 
QuestionHow to implement remote tape backup Pin
18-Jul-01 0:08
suss18-Jul-01 0:08 
GeneralVirtual Namspaces and Drag &Drop operation Pin
pic17-Jul-01 23:10
pic17-Jul-01 23:10 
GeneralRe: Virtual Namspaces and Drag &Drop operation Pin
17-Jul-01 23:24
suss17-Jul-01 23:24 
GeneralRe: Virtual Namspaces and Drag &Drop operation Pin
pic19-Jul-01 6:01
pic19-Jul-01 6:01 
GeneralWhy did the func :OnChar not happened when a key pressed Pin
17-Jul-01 21:10
suss17-Jul-01 21:10 
GeneralRe: Why did the func :OnChar not happened when a key pressed Pin
Patrick Hoffmann17-Jul-01 23:00
Patrick Hoffmann17-Jul-01 23:00 
GeneralRe: Why did the func :OnChar not happened when a key pressed Pin
Igor Sukhov18-Jul-01 1:15
Igor Sukhov18-Jul-01 1:15 
QuestionMessage queues of windows? Pin
Frankie17-Jul-01 21:02
Frankie17-Jul-01 21:02 
AnswerRe: Message queues of windows? Pin
Michael Dunn17-Jul-01 21:21
sitebuilderMichael Dunn17-Jul-01 21:21 

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.