Click here to Skip to main content
15,905,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
BeerFizz30-Jun-09 10:38
BeerFizz30-Jun-09 10:38 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
Stuart Dootson30-Jun-09 11:24
professionalStuart Dootson30-Jun-09 11:24 
Questioncreating and writing data to an xml file in vc++6.0 Pin
kir_MFC30-Jun-09 3:44
kir_MFC30-Jun-09 3:44 
AnswerRe: creating and writing data to an xml file in vc++6.0 Pin
Naveen30-Jun-09 4:30
Naveen30-Jun-09 4:30 
QuestionWhy have you reposted this? Pin
led mike30-Jun-09 4:37
led mike30-Jun-09 4:37 
AnswerRe: creating and writing data to an xml file in vc++6.0 Pin
David Crow30-Jun-09 4:45
David Crow30-Jun-09 4:45 
QuestionCapture Ctrl+Pgup event Pin
reply2am30-Jun-09 2:02
reply2am30-Jun-09 2:02 
AnswerRe: Capture Ctrl+Pgup event Pin
David Crow30-Jun-09 3:44
David Crow30-Jun-09 3:44 
Questionreading and writing xml files in vc++6.0 Pin
kir_MFC30-Jun-09 1:17
kir_MFC30-Jun-09 1:17 
AnswerRe: reading and writing xml files in vc++6.0 Pin
Madhu Nair30-Jun-09 1:28
Madhu Nair30-Jun-09 1:28 
GeneralRe: reading and writing xml files in vc++6.0 Pin
kir_MFC30-Jun-09 3:04
kir_MFC30-Jun-09 3:04 
QuestionRe: reading and writing xml files in vc++6.0 Pin
David Crow30-Jun-09 3:10
David Crow30-Jun-09 3:10 
AnswerRe: reading and writing xml files in vc++6.0 Pin
kir_MFC30-Jun-09 4:06
kir_MFC30-Jun-09 4:06 
QuestionRe: reading and writing xml files in vc++6.0 Pin
David Crow30-Jun-09 4:12
David Crow30-Jun-09 4:12 
QuestionUsing Class Template in Visual C++ [modified] Pin
emira6730-Jun-09 1:01
emira6730-Jun-09 1:01 
AnswerRe: Using Class Template in Visual C++ Pin
«_Superman_»30-Jun-09 1:08
professional«_Superman_»30-Jun-09 1:08 
AnswerRe: Using Class Template in Visual C++ Pin
Stuart Dootson30-Jun-09 2:39
professionalStuart Dootson30-Jun-09 2:39 
GeneralRe: Using Class Template in Visual C++ Pin
emira6730-Jun-09 2:48
emira6730-Jun-09 2:48 
GeneralRe: Using Class Template in Visual C++ Pin
Stuart Dootson30-Jun-09 2:52
professionalStuart Dootson30-Jun-09 2:52 
Questionerror in starting widows service after installation Pin
Subrat Patnaik30-Jun-09 0:46
Subrat Patnaik30-Jun-09 0:46 
AnswerRe: error in starting widows service after installation Pin
Cedric Moonen30-Jun-09 0:58
Cedric Moonen30-Jun-09 0:58 
GeneralRe: error in starting widows service after installation Pin
Chuck O'Toole30-Jun-09 22:57
Chuck O'Toole30-Jun-09 22:57 
GeneralRe: error in starting widows service after installation Pin
Subrat Patnaik1-Jul-09 0:54
Subrat Patnaik1-Jul-09 0:54 
GeneralRe: error in starting widows service after installation Pin
Cedric Moonen1-Jul-09 0:56
Cedric Moonen1-Jul-09 0:56 
QuestionDoubt in MapMode Pin
KASR129-Jun-09 23:34
KASR129-Jun-09 23:34 
Code Block 1
int iWindExtX = 3500;
int iWindExtY = 4375;
pDC->SetMapMode (MM_ISOTROPIC);
pDC->SetWindowOrg(0,0);
pDC->SetViewportOrg(0,0);
pDC->SetWindowExt(iWindExtX , iWindExtY);
pDC->SetViewportExt(972, 1404);
m_pDC->Rectangle(0, 0, iWindExtX, iWindExtY);


Code Block 2
int iWindExtX = 2500;
int iWindExtY = 4500;
pDC->SetMapMode (MM_ISOTROPIC);
pDC->SetWindowOrg(0,0);
pDC->SetViewportOrg(0,0);
pDC->SetWindowExt(iWindExtX , iWindExtY);
pDC->SetViewportExt(972, 1404);
m_pDC->Rectangle(0, 0, iWindExtX, iWindExtY);


In the above two code blocks the window extend size only differs.
My question is whether drawn rectangle using above two code blocks are of same size?
If differs then please tell me how?

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.