Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to convert tiff to pdf and pdf to tiff Pin
eswar pothula25-Oct-09 23:57
eswar pothula25-Oct-09 23:57 
QuestionList Control Selection Pin
hellogany25-Oct-09 19:37
hellogany25-Oct-09 19:37 
AnswerRe: List Control Selection Pin
Code-o-mat25-Oct-09 22:20
Code-o-mat25-Oct-09 22:20 
QuestionCreating objects in a thread. Pin
Nikz225-Oct-09 16:19
Nikz225-Oct-09 16:19 
AnswerRe: Creating objects in a thread. Pin
Neville Franks25-Oct-09 17:14
Neville Franks25-Oct-09 17:14 
AnswerRe: Creating objects in a thread. Pin
Adam Roderick J25-Oct-09 18:36
Adam Roderick J25-Oct-09 18:36 
GeneralRe: Creating objects in a thread. [modified] Pin
Nikz226-Oct-09 5:17
Nikz226-Oct-09 5:17 
QuestionMove a bitmap around a window quickly in C++ [modified] Pin
Neville Franks25-Oct-09 11:19
Neville Franks25-Oct-09 11:19 
I'm looking for some C++ code to let me quickly move a bitmap around a window, restoring the background as it moves. At present I capture the Window contents to a bitmap during the app initialization and in the OnPaint() I draw the this bitmap and then I draw my overlayed bitmap. I am double buffering the paint. The overlayed bitmap position moves with the mouse which invalidates the Window.

This works fine except it is too slow when the background window is large (think Windows Desktop) and the PC is slow. My guess is that redrawing the large background bitmap on every mouse move is the bottleneck. There has to be a much better and faster way to do this, but my searching hasn't found the answer I need.

Neville Franks, Author of Surfulater www.surfulater.com "Save what you Surf" and ED for Windows www.getsoft.com


modified on Sunday, October 25, 2009 5:25 PM

AnswerRe: Move a bitmap around a window quickly in C++ Pin
«_Superman_»25-Oct-09 11:42
professional«_Superman_»25-Oct-09 11:42 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 12:30
Neville Franks25-Oct-09 12:30 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Code-o-mat25-Oct-09 12:57
Code-o-mat25-Oct-09 12:57 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Chris Losinger25-Oct-09 16:25
professionalChris Losinger25-Oct-09 16:25 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 17:08
Neville Franks25-Oct-09 17:08 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
yzprout25-Oct-09 19:30
yzprout25-Oct-09 19:30 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 20:35
Neville Franks25-Oct-09 20:35 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Stuart Dootson26-Oct-09 1:07
professionalStuart Dootson26-Oct-09 1:07 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks26-Oct-09 10:10
Neville Franks26-Oct-09 10:10 
QuestionEscape Key Pin
MrMcIntyre25-Oct-09 9:27
MrMcIntyre25-Oct-09 9:27 
AnswerRe: Escape Key Pin
Iain Clarke, Warrior Programmer25-Oct-09 9:40
Iain Clarke, Warrior Programmer25-Oct-09 9:40 
GeneralRe: Escape Key Pin
MrMcIntyre25-Oct-09 10:01
MrMcIntyre25-Oct-09 10:01 
GeneralRe: Escape Key Pin
Richard MacCutchan25-Oct-09 12:42
mveRichard MacCutchan25-Oct-09 12:42 
QuestionHello! I urgently need the program code. Help me with!! Pin
vudvpro25-Oct-09 8:48
vudvpro25-Oct-09 8:48 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
CPallini25-Oct-09 9:07
mveCPallini25-Oct-09 9:07 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
Rajesh R Subramanian25-Oct-09 9:32
professionalRajesh R Subramanian25-Oct-09 9:32 
RantRe: Hello! I urgently need the program code. Help me with!! Pin
Iain Clarke, Warrior Programmer25-Oct-09 10:01
Iain Clarke, Warrior Programmer25-Oct-09 10:01 

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.