Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using two table in 1 software Pin
Tim Deveaux25-Jun-01 4:51
Tim Deveaux25-Jun-01 4:51 
GeneralSuperb Pin
25-Jun-01 14:51
suss25-Jun-01 14:51 
GeneralRe: Superb Pin
25-Jun-01 20:28
suss25-Jun-01 20:28 
GeneralRe: Superb Pin
Tim Deveaux26-Jun-01 13:25
Tim Deveaux26-Jun-01 13:25 
GeneralPrint preview Pin
24-Jun-01 21:00
suss24-Jun-01 21:00 
GeneralRe: Print preview Pin
Christian Graus24-Jun-01 23:30
protectorChristian Graus24-Jun-01 23:30 
GeneralRe: Print preview Pin
25-Jun-01 20:24
suss25-Jun-01 20:24 
GeneralRe: Print preview Pin
Christian Graus25-Jun-01 23:13
protectorChristian Graus25-Jun-01 23:13 
In OnPrint get the resolution by calling

long PrintAreaHorz = GetDeviceCaps(pDC->m_hDC, HORZRES);
long PrintAreaVert = GetDeviceCaps(pDC->m_hDC, VERTRES);


then use these values to scale your page.

Christian

#include "std_disclaimer.h"

People who love sausage and respect the law should never watch either one being made.

The things that come to those who wait are usually the things left by those who got there first.
GeneralQuestion about the file of VC Project Pin
24-Jun-01 20:26
suss24-Jun-01 20:26 
GeneralRe: Question about the file of VC Project Pin
Michael Dunn24-Jun-01 21:28
sitebuilderMichael Dunn24-Jun-01 21:28 
GeneralProblem of Print Mechanism! Pin
24-Jun-01 19:54
suss24-Jun-01 19:54 
GeneralSimple program Pin
Thiago Jackiw24-Jun-01 19:33
Thiago Jackiw24-Jun-01 19:33 
GeneralRe: Simple program Pin
Christian Graus24-Jun-01 19:37
protectorChristian Graus24-Jun-01 19:37 
GeneralBeginner's Question II Pin
Jason K. Dove24-Jun-01 18:57
Jason K. Dove24-Jun-01 18:57 
GeneralRe: Beginner's Question II Pin
Christian Graus24-Jun-01 19:03
protectorChristian Graus24-Jun-01 19:03 
GeneralRe: Beginner's Question II Pin
markkuk24-Jun-01 20:40
markkuk24-Jun-01 20:40 
GeneralRe: Beginner's Question II Pin
Michael Dunn24-Jun-01 21:37
sitebuilderMichael Dunn24-Jun-01 21:37 
GeneralRe: Beginner's Question II Pin
Rejeesh25-Jun-01 1:28
Rejeesh25-Jun-01 1:28 
GeneralFlash activeX Pin
24-Jun-01 18:04
suss24-Jun-01 18:04 
GeneralBeginner's Question Pin
Jason K. Dove24-Jun-01 17:35
Jason K. Dove24-Jun-01 17:35 
GeneralRe: Beginner's Question Pin
Rejeesh24-Jun-01 18:23
Rejeesh24-Jun-01 18:23 
GeneralRe: Beginner's Question Pin
Rejeesh25-Jun-01 1:26
Rejeesh25-Jun-01 1:26 
QuestionHow do I get an application's .exe name Pin
Jennifer Pinkton24-Jun-01 17:21
Jennifer Pinkton24-Jun-01 17:21 
AnswerRe: How do I get an application's .exe name Pin
Blake Miller25-Jan-05 7:13
Blake Miller25-Jan-05 7:13 
GeneralTrayIcon problems....¤Ì.¤Ì Pin
hahyojin24-Jun-01 15:30
hahyojin24-Jun-01 15:30 

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.