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

C / C++ / MFC

 
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 
GeneralRe: using BitBlt for preview DC Pin
Code-o-mat21-Jan-09 1:41
Code-o-mat21-Jan-09 1:41 
Try using CDC::GetDeviceCaps[^], giving it maybe HORZRES and VERTRES or so to get the size of the DC's surface, or maybe HORZSIZE and VERTSIZE. Just note something, when using printer DC's, the size of the surface might be HUGE. Actually, do you really need to draw your print preview on a buffer?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

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 
QuestionEncrypt and Dcrypt String(Urgent) Pin
newhivc20-Jan-09 17:28
newhivc20-Jan-09 17:28 

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.