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

C / C++ / MFC

 
AnswerRe: How do you. . . Pin
Tim Deveaux17-Mar-01 14:56
Tim Deveaux17-Mar-01 14:56 
GeneralSockets Pin
ernst.maurer17-Mar-01 3:40
ernst.maurer17-Mar-01 3:40 
GeneralRe: Sockets Pin
Scott!17-Mar-01 4:21
Scott!17-Mar-01 4:21 
GeneralRe: Sockets Pin
ernst.maurer17-Mar-01 4:38
ernst.maurer17-Mar-01 4:38 
GeneralRe: Sockets Pin
David Cunningham17-Mar-01 7:05
cofounderDavid Cunningham17-Mar-01 7:05 
GeneralRe: Sockets Pin
Peter Godec19-Mar-01 8:32
Peter Godec19-Mar-01 8:32 
QuestionHow I can do it !!! Pin
Ahmad16-Mar-01 21:44
Ahmad16-Mar-01 21:44 
AnswerRe: How I can do it !!! Pin
l a u r e n16-Mar-01 23:32
l a u r e n16-Mar-01 23:32 
the 'shaking' is the natural flickering caused by erasing the bg and redrawing ... in games and other graphics programming a technique called 'double-buffering' is used

essentially you grab 2 lumps of memory big enough for a copy of the screen each and draw to these ... when you are ready to show a newly updated image you blit that to the screen and avoid the erase step

now if you are doing this for the whole desktop i think you may have a problem as the rest of the image will be changing beyond your control so it will be almost impossible to know what has moved where

hmmmmm.....

maybe you could use a borderless window that is transparent and set to the lowest z order and draw to that ... it would give the same effect but you wouldn't have to worry about other images in your client area and then could use the double buffering technique above

Cool | :cool:

---
"every year we invent better idiot proof systems and every year they invent better idiots"
GeneralRe: How I can do it !!! Pin
Ahmad17-Mar-01 21:25
Ahmad17-Mar-01 21:25 
GeneralRe: How I can do it !!! Pin
l a u r e n17-Mar-01 22:52
l a u r e n17-Mar-01 22:52 
GeneralRe: How I can do it !!! Pin
Ahmad19-Mar-01 21:49
Ahmad19-Mar-01 21:49 
GeneralC++ question .. Pin
Hadi Rezaee16-Mar-01 19:44
Hadi Rezaee16-Mar-01 19:44 
GeneralRe: C++ question .. Pin
l a u r e n16-Mar-01 23:08
l a u r e n16-Mar-01 23:08 
GeneralRe: C++ question .. Pin
Tim Deveaux17-Mar-01 4:22
Tim Deveaux17-Mar-01 4:22 
GeneralSetModifiedFlag() ... Pin
Hadi Rezaee16-Mar-01 19:43
Hadi Rezaee16-Mar-01 19:43 
GeneralRe: SetModifiedFlag() ... Pin
l a u r e n16-Mar-01 23:13
l a u r e n16-Mar-01 23:13 
GeneralRe: SetModifiedFlag() ... Pin
Masaaki Onishi17-Mar-01 3:37
Masaaki Onishi17-Mar-01 3:37 
GeneralCWnd ... Pin
Hadi Rezaee16-Mar-01 19:41
Hadi Rezaee16-Mar-01 19:41 
GeneralRe: CWnd ... Pin
Ahmad16-Mar-01 21:18
Ahmad16-Mar-01 21:18 
GeneralRe: CWnd ... Pin
Tim Deveaux17-Mar-01 15:24
Tim Deveaux17-Mar-01 15:24 
GeneralRun function in class ... Pin
Hadi Rezaee16-Mar-01 19:40
Hadi Rezaee16-Mar-01 19:40 
GeneralRe: Run function in class ... Pin
Ahmad16-Mar-01 21:15
Ahmad16-Mar-01 21:15 
GeneralMFC RepositionBars - memory consumed Pin
Sara Burns16-Mar-01 13:50
Sara Burns16-Mar-01 13:50 
GeneralRe: MFC RepositionBars - memory consumed Pin
l a u r e n17-Mar-01 3:05
l a u r e n17-Mar-01 3:05 
GeneralProperty Sheets in CDialogBar Pin
Rob Planche16-Mar-01 8:45
Rob Planche16-Mar-01 8:45 

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.