Click here to Skip to main content
15,915,501 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating TimeStamp Pin
Programm3r13-Jun-07 4:12
Programm3r13-Jun-07 4:12 
QuestionAbout compilation in VS 2005 Pin
Nandu_77b13-Jun-07 0:30
Nandu_77b13-Jun-07 0:30 
AnswerRe: About compilation in VS 2005 Pin
Programm3r13-Jun-07 0:35
Programm3r13-Jun-07 0:35 
GeneralRe: About compilation in VS 2005 Pin
Nandu_77b13-Jun-07 1:04
Nandu_77b13-Jun-07 1:04 
QuestionRe: About compilation in VS 2005 Pin
Rajkumar R13-Jun-07 1:32
Rajkumar R13-Jun-07 1:32 
GeneralRe: About compilation in VS 2005 Pin
Programm3r13-Jun-07 2:07
Programm3r13-Jun-07 2:07 
GeneralRe: About compilation in VS 2005 Pin
ky_rerun13-Jun-07 2:57
ky_rerun13-Jun-07 2:57 
QuestionPrint Preview problem Pin
Bravoone_200613-Jun-07 0:16
Bravoone_200613-Jun-07 0:16 
How can i do print preview for this :
((i have a CButton OnPrint(IDC_PRINT))CDialog Base aplication)

void CMyPrintDlg::OnPrint(CDC* pDC, CPrintInfo* pInfo)
{

CPrintDialog dlgPrint(FALSE,PD_ALLPAGES,this);

if (dlgPrint.DoModal()==IDOK)
{
// ** Attach the printer DC from the dialog
// ** to a CDC object
CDC dcPrint;
dcPrint.Attach(dlgPrint.GetPrinterDC());

// ** Create and fill a DOCINFO structure
DOCINFO myPrintJob;
myPrintJob.cbSize = sizeof(myPrintJob);
myPrintJob.lpszDocName = "printing...";
myPrintJob.lpszOutput = NULL;
myPrintJob.lpszDatatype = NULL;
myPrintJob.fwType = NULL;

// ** Start the printing document
if (dcPrint.StartDoc(&myPrintJob)>=0)
{
// ** Start a page
dcPrint.StartPage();

CString sText;
sText = "this :";
CString sText1;
sText1 = "How ?";
////////////////////////////////////////////////////////////////////////////////////////
dcPrint.TextOut(2000,350,sText);
dcPrint.TextOut(300,500,sText1)

// ** Throw the page
dcPrint.EndPage();

// ** Close the document
dcPrint.EndDoc();
}

dcPrint.DeleteDC();
}

}

Please help me !

Bravoone

AnswerRe: Print Preview problem Pin
Roger Allen15-Jun-07 16:13
Roger Allen15-Jun-07 16:13 
QuestionHeaders supplied with platform SDK Pin
Steve S13-Jun-07 0:15
Steve S13-Jun-07 0:15 
AnswerRe: Headers supplied with platform SDK Pin
Matthew Faithfull13-Jun-07 1:58
Matthew Faithfull13-Jun-07 1:58 
AnswerRe: Headers supplied with platform SDK Pin
David Crow13-Jun-07 2:53
David Crow13-Jun-07 2:53 
GeneralRe: Headers supplied with platform SDK Pin
Steve S13-Jun-07 2:59
Steve S13-Jun-07 2:59 
QuestionChild keeps covering parent Pin
Wim Engberts13-Jun-07 0:04
Wim Engberts13-Jun-07 0:04 
AnswerRe: Child keeps covering parent Pin
Nibu babu thomas13-Jun-07 0:35
Nibu babu thomas13-Jun-07 0:35 
GeneralRe: Child keeps covering parent Pin
Wim Engberts13-Jun-07 1:10
Wim Engberts13-Jun-07 1:10 
GeneralRe: Child keeps covering parent Pin
Wim Engberts13-Jun-07 1:11
Wim Engberts13-Jun-07 1:11 
GeneralRe: Child keeps covering parent Pin
James R. Twine13-Jun-07 2:25
James R. Twine13-Jun-07 2:25 
GeneralRe: Child keeps covering parent Pin
James R. Twine13-Jun-07 2:24
James R. Twine13-Jun-07 2:24 
GeneralRe: Child keeps covering parent Pin
Nibu babu thomas13-Jun-07 22:17
Nibu babu thomas13-Jun-07 22:17 
QuestionHow to use Modifymenu for CMenu Pin
prithaa13-Jun-07 0:01
prithaa13-Jun-07 0:01 
AnswerRe: How to use Modifymenu for CMenu Pin
prithaa13-Jun-07 0:19
prithaa13-Jun-07 0:19 
QuestionGetting source code of a webpage Pin
neha.agarwal2712-Jun-07 23:42
neha.agarwal2712-Jun-07 23:42 
AnswerRe: Getting source code of a webpage Pin
Rajkumar R12-Jun-07 23:50
Rajkumar R12-Jun-07 23:50 
AnswerRe: Getting source code of a webpage Pin
Chris Losinger13-Jun-07 1:35
professionalChris Losinger13-Jun-07 1:35 

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.