Click here to Skip to main content
15,920,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where did my classes go? Pin
David Crow7-Jul-03 3:21
David Crow7-Jul-03 3:21 
GeneralUpdown control in a dialog box. Pin
blackmesa4-Jul-03 6:00
blackmesa4-Jul-03 6:00 
GeneralRe: Updown control in a dialog box. Pin
Michael Dunn4-Jul-03 6:35
sitebuilderMichael Dunn4-Jul-03 6:35 
GeneralRe: Updown control in a dialog box. Pin
blackmesa4-Jul-03 13:04
blackmesa4-Jul-03 13:04 
GeneralEdit control in DialogBar Pin
grotesque4-Jul-03 5:53
grotesque4-Jul-03 5:53 
GeneralRe: Edit control in DialogBar Pin
Ryan Binns4-Jul-03 6:03
Ryan Binns4-Jul-03 6:03 
GeneralRe: Edit control in DialogBar Pin
SandeepN30-Sep-03 5:54
SandeepN30-Sep-03 5:54 
Generalprinting in landscape mode Pin
si_694-Jul-03 5:37
si_694-Jul-03 5:37 
Hi All

im printing some stuff out in landscape mode, i have the below
in my OnBeginPrint function to set the orientation of the paper

LPDEVMODE pDevMode;
pDevMode = pInfo->m_pPD->GetDevMode();
pDevMode->dmOrientation = DMORIENT_LANDSCAPE;
pDC->ResetDC(pDevMode);

first time round, it prints in landscape, but the actual text doesnt stretch across
the whole page like it should, the actual text is in the size of portrait mode on a landscape peice of paper

however if i print again, its all fine

and clues any1 ?

thanks

simon
GeneralRe: printing in landscape mode Pin
sherryfa6-Aug-03 18:18
sherryfa6-Aug-03 18:18 
GeneralDEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
spokes4-Jul-03 4:39
spokes4-Jul-03 4:39 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
Ryan Binns4-Jul-03 4:47
Ryan Binns4-Jul-03 4:47 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
spokes4-Jul-03 5:04
spokes4-Jul-03 5:04 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
spokes4-Jul-03 5:09
spokes4-Jul-03 5:09 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
Ryan Binns4-Jul-03 5:18
Ryan Binns4-Jul-03 5:18 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
spokes4-Jul-03 20:54
spokes4-Jul-03 20:54 
GeneralRe: DEBUG ASSERTION FAILURE File: afxwin2.inl Line: 669 Pin
spokes5-Jul-03 1:54
spokes5-Jul-03 1:54 
Questionput_Collect & get_Colect ??? Pin
Hoornet934-Jul-03 4:24
Hoornet934-Jul-03 4:24 
AnswerRe: put_Collect & get_Colect ??? Pin
John M. Drescher4-Jul-03 4:29
John M. Drescher4-Jul-03 4:29 
AnswerRe: put_Collect & get_Colect ??? Pin
Michael P Butler4-Jul-03 4:31
Michael P Butler4-Jul-03 4:31 
GeneralProblem including commctrl.h. Pin
blackmesa4-Jul-03 4:19
blackmesa4-Jul-03 4:19 
GeneralRe: Problem including commctrl.h. Pin
John M. Drescher4-Jul-03 4:32
John M. Drescher4-Jul-03 4:32 
GeneralRe: Problem including commctrl.h. Pin
blackmesa4-Jul-03 4:34
blackmesa4-Jul-03 4:34 
GeneralRe: Problem including commctrl.h. Pin
John M. Drescher4-Jul-03 4:40
John M. Drescher4-Jul-03 4:40 
GeneralRe: Problem including commctrl.h. Pin
blackmesa4-Jul-03 4:42
blackmesa4-Jul-03 4:42 
GeneralRe: Problem including commctrl.h. Pin
Ryan Binns4-Jul-03 4:41
Ryan Binns4-Jul-03 4:41 

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.