Click here to Skip to main content
15,926,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handle vs Pointer Pin
stevenson10-Oct-02 18:24
stevenson10-Oct-02 18:24 
GeneralRe: Handle vs Pointer Pin
Nish Nishant10-Oct-02 20:00
sitebuilderNish Nishant10-Oct-02 20:00 
GeneralRe: Handle vs Pointer Pin
Michael Dunn10-Oct-02 20:04
sitebuilderMichael Dunn10-Oct-02 20:04 
GeneralRe: Handle vs Pointer Pin
stevenson10-Oct-02 20:43
stevenson10-Oct-02 20:43 
GeneralChanging the font of a CStatic Pin
monrobot1310-Oct-02 17:22
monrobot1310-Oct-02 17:22 
GeneralRe: Changing the font of a CStatic Pin
Nish Nishant10-Oct-02 18:07
sitebuilderNish Nishant10-Oct-02 18:07 
GeneralRe: Changing the font of a CStatic Pin
monrobot1310-Oct-02 19:40
monrobot1310-Oct-02 19:40 
Questionhow to delete the margins when print with mfc Pin
Anonymous10-Oct-02 16:58
Anonymous10-Oct-02 16:58 
When i priting,I always get a left and top margin,like printing a pixel on the left top corner:pDC->Pixel(0,0,RGB(0,0,0))
the result on the paper always get an offset.
I can get the physical offset of the printer,but how to change the offset,I tried SetViewportOrg,nothing changed!
any help?

int x = pDC->GetDeviceCaps(PHYSICALOFFSETX);
int y = pDC->GetDeviceCaps( PHYSICALOFFSETY);
pDC->SetViewportOrg (-x,-y);
AnswerRe: how to delete the margins when print with mfc Pin
Gary R. Wheeler11-Oct-02 16:39
Gary R. Wheeler11-Oct-02 16:39 
GeneralCall dll from within an exe Pin
DarrollWalsh10-Oct-02 16:53
DarrollWalsh10-Oct-02 16:53 
GeneralDesign pattern Pin
stevenson10-Oct-02 15:06
stevenson10-Oct-02 15:06 
GeneralRe: Design pattern Pin
Christian Graus10-Oct-02 15:23
protectorChristian Graus10-Oct-02 15:23 
GeneralRe: Design pattern Pin
Anonymous10-Oct-02 17:09
Anonymous10-Oct-02 17:09 
GeneralRe: Design pattern Pin
Garth J Lancaster10-Oct-02 21:10
professionalGarth J Lancaster10-Oct-02 21:10 
GeneralOOD Question: Data / GUI boundary Pin
JennyP10-Oct-02 12:37
JennyP10-Oct-02 12:37 
GeneralRe: OOD Question: Data / GUI boundary Pin
Ed Gadziemski10-Oct-02 14:34
professionalEd Gadziemski10-Oct-02 14:34 
QuestionEnable3DControls? Pin
Henry P.10-Oct-02 12:07
Henry P.10-Oct-02 12:07 
AnswerRe: Enable3DControls? Pin
Michael Dunn10-Oct-02 13:42
sitebuilderMichael Dunn10-Oct-02 13:42 
GeneralRe: Enable3DControls? Pin
Henry P.10-Oct-02 14:06
Henry P.10-Oct-02 14:06 
GeneralJust a beginner here Pin
G. White10-Oct-02 12:03
G. White10-Oct-02 12:03 
GeneralRe: Just a beginner here Pin
Christian Graus10-Oct-02 13:04
protectorChristian Graus10-Oct-02 13:04 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 19:48
Anonymous10-Oct-02 19:48 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 20:42
Anonymous10-Oct-02 20:42 
GeneralRe: Just a beginner here Pin
valikac10-Oct-02 13:07
valikac10-Oct-02 13:07 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 17:12
Anonymous10-Oct-02 17:12 

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.