Click here to Skip to main content
15,790,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inheritance problem Pin
khb13-Jul-06 10:00
khb13-Jul-06 10:00 
GeneralRe: Inheritance problem Pin
earl13-Jul-06 13:04
earl13-Jul-06 13:04 
QuestionHow to setrange of spin control Pin
vc++_fragrance13-Jul-06 3:06
vc++_fragrance13-Jul-06 3:06 
AnswerRe: How to setrange of spin control Pin
*Dreamz13-Jul-06 3:25
*Dreamz13-Jul-06 3:25 
GeneralRe: How to setrange of spin control Pin
vc++_fragrance13-Jul-06 3:33
vc++_fragrance13-Jul-06 3:33 
GeneralRe: How to setrange of spin control Pin
David Crow13-Jul-06 3:48
David Crow13-Jul-06 3:48 
GeneralRe: How to setrange of spin control Pin
vc++_fragrance13-Jul-06 18:02
vc++_fragrance13-Jul-06 18:02 
QuestionHow to Specified Position with Priter. Pin
Uday Janaswamy13-Jul-06 1:44
Uday Janaswamy13-Jul-06 1:44 
Hi all,

I want to Print the Document in Specified Document. I am unable to Decide the Margin's while Printing. Please Help me out.

//===========================================================================

CPrintdlg print(FALSE,PD_AllPages,this);

if(print.DoModel()== IDOK)
{
CDC dcPrint;
dcPrint.Attach(print.GetPrinterDC();

DOCINFO doc; // Setting the Printer Documents....

if(dcPrint.StartDoc(&doc > 0)
{
dcPrint.StartPage();
int x,y;

x = GetDeviceCaps(...); //x,y Cooridinates for Printer.
y = GetDeviceCaps(...);
dc.print(xloc,yloc,"Text"); //----> I have doubt here.
//---> How to Set the Margin for the Page Here.
dcPrint.EndPage();
}

}



UDAY
AnswerRe: How to Specified Position with Priter. [modified] Pin
includeh1013-Jul-06 2:15
includeh1013-Jul-06 2:15 
GeneralRe: How to Specified Position with Priter. Pin
Uday Janaswamy13-Jul-06 2:35
Uday Janaswamy13-Jul-06 2:35 
QuestionWM_COMMAND Pin
ashish dogra13-Jul-06 0:39
ashish dogra13-Jul-06 0:39 
AnswerRe: WM_COMMAND Pin
A_Fa13-Jul-06 0:47
A_Fa13-Jul-06 0:47 
AnswerRe: WM_COMMAND [modified] Pin
_AnsHUMAN_ 13-Jul-06 0:53
_AnsHUMAN_ 13-Jul-06 0:53 
AnswerRe: WM_COMMAND Pin
Hamid_RT13-Jul-06 1:09
Hamid_RT13-Jul-06 1:09 
GeneralRe: WM_COMMAND Pin
toxcct13-Jul-06 2:34
toxcct13-Jul-06 2:34 
GeneralRe: WM_COMMAND Pin
Hamid_RT13-Jul-06 3:21
Hamid_RT13-Jul-06 3:21 
GeneralRe: WM_COMMAND Pin
toxcct13-Jul-06 3:24
toxcct13-Jul-06 3:24 
GeneralRe: WM_COMMAND Pin
Hamid_RT13-Jul-06 3:55
Hamid_RT13-Jul-06 3:55 
GeneralRe: WM_COMMAND [modified] Pin
earl13-Jul-06 6:23
earl13-Jul-06 6:23 
AnswerRe: WM_COMMAND Pin
Sarath C13-Jul-06 1:39
Sarath C13-Jul-06 1:39 
QuestionIPC (Inter Process Comunication) [modified] Pin
A_Fa13-Jul-06 0:29
A_Fa13-Jul-06 0:29 
AnswerRe: IPC (Inter Process Comunication) Pin
Jonathan [Darka]13-Jul-06 1:01
professionalJonathan [Darka]13-Jul-06 1:01 
AnswerRe: IPC (Inter Process Comunication) Pin
earl13-Jul-06 8:50
earl13-Jul-06 8:50 
QuestionDifference between Static lib and Dynamic lib Pin
NiceNaidu13-Jul-06 0:22
NiceNaidu13-Jul-06 0:22 
AnswerRe: Difference between Static lib and Dynamic lib Pin
Prakash Nadar13-Jul-06 1:58
Prakash Nadar13-Jul-06 1:58 

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.