Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCScrollView with a lot of flickering Pin
djordj10-Mar-03 11:43
djordj10-Mar-03 11:43 
GeneralRe: CScrollView with a lot of flickering Pin
MAAK10-Mar-03 11:50
MAAK10-Mar-03 11:50 
GeneralRe: CScrollView with a lot of flickering Pin
73Zeppelin10-Mar-03 16:51
73Zeppelin10-Mar-03 16:51 
GeneralRe: CScrollView with a lot of flickering Pin
djordj10-Mar-03 21:19
djordj10-Mar-03 21:19 
GeneralRe: CScrollView with a lot of flickering Pin
MAAK10-Mar-03 21:40
MAAK10-Mar-03 21:40 
GeneralRe: CScrollView with a lot of flickering Pin
73Zeppelin12-Mar-03 2:59
73Zeppelin12-Mar-03 2:59 
GeneralRe: CScrollView with a lot of flickering Pin
djordj12-Mar-03 7:59
djordj12-Mar-03 7:59 
GeneralRe: CScrollView with a lot of flickering Pin
73Zeppelin13-Mar-03 4:07
73Zeppelin13-Mar-03 4:07 
Ah, the Visible Human...

I don't have any timings or performance figures to give you, but you could try StretchBlt'ing the image to a MemDC only once with the idea to cut the image size in, say half. Once you have StretchBlt it to memory, you could then BitBlt the reduced image to the DC. Technically, you should only have to shrink the image once in memory (ie: create a temporary bitmap in memory). The smaller image may scroll smoother. You could also use the OnEraseBkgnd() handler in combination with the reduced image. It depends what you are trying to accomplish with your program. You may also want to consider reducing the colour depth, again, depending on the scope of your application.
Upgrading the video card and/or processor may help as well.Big Grin | :-D
Unfortunately, you won't find a faster way of displaying the image than the BitBlt API call...Cry | :((

Aside from all that....Confused | :confused:
GeneralGet User Actions While Background Thread Executes Pin
Robert Palma Jr.10-Mar-03 11:43
Robert Palma Jr.10-Mar-03 11:43 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant10-Mar-03 12:42
Dave Bryant10-Mar-03 12:42 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.11-Mar-03 8:55
Robert Palma Jr.11-Mar-03 8:55 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant11-Mar-03 9:01
Dave Bryant11-Mar-03 9:01 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.11-Mar-03 9:47
Robert Palma Jr.11-Mar-03 9:47 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant11-Mar-03 9:52
Dave Bryant11-Mar-03 9:52 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.12-Mar-03 6:15
Robert Palma Jr.12-Mar-03 6:15 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant12-Mar-03 8:12
Dave Bryant12-Mar-03 8:12 
GeneralRe: Get User Actions While Background Thread Executes Pin
TomKat14-Mar-03 16:12
TomKat14-Mar-03 16:12 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.15-Mar-03 5:38
Robert Palma Jr.15-Mar-03 5:38 
Questionconfirmation please: a char is 8 bits??? Pin
Kuniva10-Mar-03 10:54
Kuniva10-Mar-03 10:54 
AnswerRe: confirmation please: a char is 8 bits??? Pin
valikac10-Mar-03 11:00
valikac10-Mar-03 11:00 
GeneralRe: confirmation please: a char is 8 bits??? Pin
Kuniva10-Mar-03 11:01
Kuniva10-Mar-03 11:01 
AnswerRe: confirmation please: a char is 8 bits??? Pin
Michael Dunn10-Mar-03 11:02
sitebuilderMichael Dunn10-Mar-03 11:02 
AnswerRe: confirmation please: a char is 8 bits??? Pin
Robert Palma Jr.10-Mar-03 11:36
Robert Palma Jr.10-Mar-03 11:36 
AnswerRe: confirmation please: a char is 8 bits??? Pin
RaajaOfSelf10-Mar-03 17:23
RaajaOfSelf10-Mar-03 17:23 
Questionstd::stack iterator ? Pin
Maximilien10-Mar-03 10:46
Maximilien10-Mar-03 10:46 

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.