Click here to Skip to main content
15,898,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ASSERT((CWnd*)p == this) failed Pin
valerie9914-Sep-05 4:13
valerie9914-Sep-05 4:13 
AnswerRe: ASSERT((CWnd*)p == this) failed Pin
Tim Smith14-Sep-05 4:05
Tim Smith14-Sep-05 4:05 
GeneralThank you!!! This is it.....:) Pin
valerie9914-Sep-05 4:23
valerie9914-Sep-05 4:23 
Questionproblem getting function name Pin
gamitech13-Sep-05 11:33
gamitech13-Sep-05 11:33 
QuestionDetect changes made to dialog input fields Pin
Liu Shuai13-Sep-05 11:30
Liu Shuai13-Sep-05 11:30 
AnswerRe: Detect changes made to dialog input fields Pin
Christian Graus13-Sep-05 12:10
protectorChristian Graus13-Sep-05 12:10 
QuestionUsing common dialog box: Print Pin
bugDanny13-Sep-05 11:17
bugDanny13-Sep-05 11:17 
AnswerRe: Using common dialog box: Print Pin
Hamed Musavi13-Sep-05 16:26
Hamed Musavi13-Sep-05 16:26 
Hi,
you should use a DC(attach it to your print dialog printer DC), Start a document->start a page-> do whatever you want with the DC(whatever you do will be printed!)->end your page->end your document
look below:

CPrintDialog PDlg(FALSE);<br />
CDC PDC;<br />
<br />
/* You don't need this part, since you used the customized dialog<br />
if(!PDlg.GetDefaults())<br />
{<br />
  AfxMessageBox("Error");<br />
  return;<br />
}<br />
*/<br />
<br />
PDC.Attach(PDlg.GetPrinterDC());<br />
<br />
PDC.StartDoc("New Name, will apear in systray");<br />
PDC.StartPage();<br />
	<br />
PDC.TextOut(0,0,"HELLO!");<br />
	<br />
PDC.EndPage();<br />
PDC.EndDoc();

QuestionHow to get instance handle of an ActiveX control Pin
prcarp13-Sep-05 11:11
prcarp13-Sep-05 11:11 
QuestionHow to take advantage of .NET in MFC application Pin
DaNang13-Sep-05 7:07
DaNang13-Sep-05 7:07 
AnswerRe: How to take advantage of .NET in MFC application Pin
Nish Nishant13-Sep-05 8:09
sitebuilderNish Nishant13-Sep-05 8:09 
AnswerRe: How to take advantage of .NET in MFC application Pin
Chris Losinger13-Sep-05 8:10
professionalChris Losinger13-Sep-05 8:10 
QuestionPlatform SDK problen! Pin
rat.crown13-Sep-05 6:06
rat.crown13-Sep-05 6:06 
AnswerRe: Platform SDK problen! Pin
David Crow13-Sep-05 7:00
David Crow13-Sep-05 7:00 
GeneralRe: Platform SDK problen! Pin
rat.crown13-Sep-05 7:57
rat.crown13-Sep-05 7:57 
GeneralRe: Platform SDK problen! Pin
David Crow13-Sep-05 10:21
David Crow13-Sep-05 10:21 
GeneralThank you. You fig out my mistake, Sorry for that, But... Pin
rat.crown13-Sep-05 11:03
rat.crown13-Sep-05 11:03 
GeneralRe: Thank you. You fig out my mistake, Sorry for that, But... Pin
David Crow13-Sep-05 11:13
David Crow13-Sep-05 11:13 
GeneralI got the reason, I have to change the VC/tools/option/directory! Pin
rat.crown13-Sep-05 11:25
rat.crown13-Sep-05 11:25 
GeneralThank! I got some mistake. I forgort change the directore in the VC++ tools/option Pin
rat.crown13-Sep-05 11:23
rat.crown13-Sep-05 11:23 
Questiondebug assertion failed Pin
valerie9913-Sep-05 6:02
valerie9913-Sep-05 6:02 
AnswerRe: debug assertion failed Pin
David Crow13-Sep-05 7:05
David Crow13-Sep-05 7:05 
GeneralP points to &quot;CWndhWnd&quot; Pin
valerie9913-Sep-05 9:27
valerie9913-Sep-05 9:27 
GeneralRe: P points to &quot;CWndhWnd&quot; Pin
David Crow13-Sep-05 10:44
David Crow13-Sep-05 10:44 
QuestionRegarding Back ground color. Pin
Neelesh K J Jain13-Sep-05 3:17
Neelesh K J Jain13-Sep-05 3:17 

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.