Click here to Skip to main content
15,911,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Great Trouble.Please, please Help. Even a simple link... Pin
Hamed Musavi13-Sep-05 16:58
Hamed Musavi13-Sep-05 16:58 
GeneralRe: Great Trouble.Please, please Help. Even a simple link... Pin
Christian Graus13-Sep-05 17:00
protectorChristian Graus13-Sep-05 17:00 
GeneralRe: Great Trouble.Please, please Help. Even a simple link... Pin
Hamed Musavi13-Sep-05 17:07
Hamed Musavi13-Sep-05 17:07 
AnswerRe: Great Trouble.Please, please Help. Even a simple link... Pin
charlieg13-Sep-05 17:15
charlieg13-Sep-05 17:15 
GeneralRe: Great Trouble.Please, please Help. Even a simple link... Pin
Hamed Musavi14-Sep-05 15:40
Hamed Musavi14-Sep-05 15:40 
QuestionVC 6.0 and Windows CE 5.0 Pin
Demian Panello13-Sep-05 12:52
Demian Panello13-Sep-05 12:52 
AnswerRe: VC 6.0 and Windows CE 5.0 Pin
charlieg13-Sep-05 16:58
charlieg13-Sep-05 16:58 
GeneralRe: VC 6.0 and Windows CE 5.0 Pin
Demian Panello14-Sep-05 1:00
Demian Panello14-Sep-05 1:00 
GeneralRe: VC 6.0 and Windows CE 5.0 Pin
charlieg14-Sep-05 2:43
charlieg14-Sep-05 2:43 
QuestionCryptAcquireContext fails on other machines Pin
KnaveR77713-Sep-05 12:52
KnaveR77713-Sep-05 12:52 
AnswerRe: CryptAcquireContext fails on other machines Pin
HumanOsc13-Sep-05 23:34
HumanOsc13-Sep-05 23:34 
AnswerRe: CryptAcquireContext fails on other machines Pin
22491714-Sep-05 1:11
22491714-Sep-05 1:11 
QuestionASSERT((CWnd*)p == this) failed Pin
valerie9913-Sep-05 12:15
valerie9913-Sep-05 12:15 
AnswerRe: ASSERT((CWnd*)p == this) failed Pin
Weiye Chen13-Sep-05 16:26
Weiye Chen13-Sep-05 16:26 
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 

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.