Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: using BitBlt for preview DC Pin
Code-o-mat20-Jan-09 23:57
Code-o-mat20-Jan-09 23:57 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 0:04
_T("No name")21-Jan-09 0:04 
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 0:10
Code-o-mat21-Jan-09 0:10 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 0:16
_T("No name")21-Jan-09 0:16 
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 0:48
Code-o-mat21-Jan-09 0:48 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 0:59
_T("No name")21-Jan-09 0:59 
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 1:16
Code-o-mat21-Jan-09 1:16 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 1:32
_T("No name")21-Jan-09 1:32 
well i did that also but that didnt help.
even wt u r telling can be a case but how to get correct size i just have the info that in case if print preview the pDC i get in OnDraw() is the one with m_bPrinting = 1 means its a printer dc. it might be due to AFXPrintPreview() it runs some code written in mfc itself in viewcore.cpp viewprev.cpp. u might have these files also if u have latest visual studio at

C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfc

ny idea how can i check the size m passing to buffer dc is correct or not

thanks
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 1:41
Code-o-mat21-Jan-09 1:41 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 1:51
_T("No name")21-Jan-09 1:51 
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 1:55
Code-o-mat21-Jan-09 1:55 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")21-Jan-09 2:02
_T("No name")21-Jan-09 2:02 
AnswerRe: using BitBlt for preview DC Pin
Nishad S20-Jan-09 21:58
Nishad S20-Jan-09 21:58 
GeneralRe: using BitBlt for preview DC Pin
_T("No name")20-Jan-09 23:27
_T("No name")20-Jan-09 23:27 
QuestionHow to handle smart ptrs and multiple inheritance? Pin
Member 260377220-Jan-09 18:27
Member 260377220-Jan-09 18:27 
AnswerRe: How to handle smart ptrs and multiple inheritance? Pin
Stuart Dootson20-Jan-09 23:23
professionalStuart Dootson20-Jan-09 23:23 
GeneralRe: How to handle smart ptrs and multiple inheritance? Pin
Member 260377221-Jan-09 15:36
Member 260377221-Jan-09 15:36 
GeneralRe: How to handle smart ptrs and multiple inheritance? Pin
Stuart Dootson21-Jan-09 21:01
professionalStuart Dootson21-Jan-09 21:01 
GeneralRe: How to handle smart ptrs and multiple inheritance? Pin
Member 260377222-Jan-09 4:22
Member 260377222-Jan-09 4:22 
QuestionConvert CString to Binary and Binary to CString Pin
NewVC++20-Jan-09 18:21
NewVC++20-Jan-09 18:21 
QuestionRe: Convert CString to Binary and Binary to CString Pin
CPallini20-Jan-09 21:46
mveCPallini20-Jan-09 21:46 
QuestionRe: Convert CString to Binary and Binary to CString Pin
SandipG 21-Jan-09 1:34
SandipG 21-Jan-09 1:34 
AnswerRe: Convert CString to Binary and Binary to CString Pin
KarstenK21-Jan-09 1:57
mveKarstenK21-Jan-09 1:57 
GeneralRe: Convert CString to Binary and Binary to CString Pin
toxcct21-Jan-09 2:15
toxcct21-Jan-09 2:15 
QuestionDockablePanes - Splitters are not seen Pin
Taruni20-Jan-09 17:37
Taruni20-Jan-09 17:37 

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.