Click here to Skip to main content
15,846,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to convert tiff to pdf and pdf to tiff Pin
eswar pothula26-Oct-09 0:57
eswar pothula26-Oct-09 0:57 
QuestionList Control Selection Pin
hellogany25-Oct-09 20:37
hellogany25-Oct-09 20:37 
AnswerRe: List Control Selection Pin
Code-o-mat25-Oct-09 23:20
Code-o-mat25-Oct-09 23:20 
QuestionCreating objects in a thread. Pin
Nikz225-Oct-09 17:19
Nikz225-Oct-09 17:19 
AnswerRe: Creating objects in a thread. Pin
Neville Franks25-Oct-09 18:14
Neville Franks25-Oct-09 18:14 
AnswerRe: Creating objects in a thread. Pin
Adam Roderick J25-Oct-09 19:36
Adam Roderick J25-Oct-09 19:36 
GeneralRe: Creating objects in a thread. [modified] Pin
Nikz226-Oct-09 6:17
Nikz226-Oct-09 6:17 
QuestionMove a bitmap around a window quickly in C++ [modified] Pin
Neville Franks25-Oct-09 12:19
Neville Franks25-Oct-09 12: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 12:42
professional«_Superman_»25-Oct-09 12:42 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 13:30
Neville Franks25-Oct-09 13:30 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Code-o-mat25-Oct-09 13:57
Code-o-mat25-Oct-09 13:57 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Chris Losinger25-Oct-09 17:25
professionalChris Losinger25-Oct-09 17:25 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 18:08
Neville Franks25-Oct-09 18:08 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
yzprout25-Oct-09 20:30
yzprout25-Oct-09 20:30 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 21:35
Neville Franks25-Oct-09 21:35 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Stuart Dootson26-Oct-09 2:07
professionalStuart Dootson26-Oct-09 2:07 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks26-Oct-09 11:10
Neville Franks26-Oct-09 11:10 
QuestionEscape Key Pin
MrMcIntyre25-Oct-09 10:27
MrMcIntyre25-Oct-09 10:27 
AnswerRe: Escape Key Pin
Iain Clarke, Warrior Programmer25-Oct-09 10:40
Iain Clarke, Warrior Programmer25-Oct-09 10:40 
GeneralRe: Escape Key Pin
MrMcIntyre25-Oct-09 11:01
MrMcIntyre25-Oct-09 11:01 
GeneralRe: Escape Key Pin
Richard MacCutchan25-Oct-09 13:42
mveRichard MacCutchan25-Oct-09 13:42 
QuestionHello! I urgently need the program code. Help me with!! Pin
vudvpro25-Oct-09 9:48
vudvpro25-Oct-09 9:48 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
CPallini25-Oct-09 10:07
mveCPallini25-Oct-09 10:07 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
Rajesh R Subramanian25-Oct-09 10:32
professionalRajesh R Subramanian25-Oct-09 10:32 
RantRe: Hello! I urgently need the program code. Help me with!! Pin
Iain Clarke, Warrior Programmer25-Oct-09 11:01
Iain Clarke, Warrior Programmer25-Oct-09 11: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.