Click here to Skip to main content
15,925,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 9:38
professionalbioan31-Mar-10 9:38 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 9:46
professionalChris Losinger31-Mar-10 9:46 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 9:58
professionalbioan31-Mar-10 9:58 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 10:07
professionalChris Losinger31-Mar-10 10:07 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:22
professionalbioan31-Mar-10 10:22 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 10:30
professionalChris Losinger31-Mar-10 10:30 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:37
professionalbioan31-Mar-10 10:37 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:59
professionalbioan31-Mar-10 10:59 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 16:42
professionalChris Losinger31-Mar-10 16:42 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan1-Apr-10 22:50
professionalbioan1-Apr-10 22:50 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger2-Apr-10 1:15
professionalChris Losinger2-Apr-10 1:15 
QuestionGetRegValue and using it correctly, need help. Pin
rbwest8631-Mar-10 7:08
rbwest8631-Mar-10 7:08 
AnswerRe: GetRegValue and using it correctly, need help. Pin
Richard MacCutchan31-Mar-10 7:31
mveRichard MacCutchan31-Mar-10 7:31 
QuestionAlways on top Pin
trioum31-Mar-10 7:01
trioum31-Mar-10 7:01 
AnswerRe: Always on top Pin
Graham Breach31-Mar-10 7:28
Graham Breach31-Mar-10 7:28 
AnswerRe: Always on top Pin
Richard MacCutchan31-Mar-10 7:33
mveRichard MacCutchan31-Mar-10 7:33 
QuestionCListCtrl won't update as expected Pin
Vaclav_31-Mar-10 5:56
Vaclav_31-Mar-10 5:56 
AnswerRe: CListCtrl won't update as expected Pin
Code-o-mat31-Mar-10 6:14
Code-o-mat31-Mar-10 6:14 
GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 6:39
Vaclav_31-Mar-10 6:39 
GeneralRe: CListCtrl won't update as expected Pin
Maximilien31-Mar-10 6:54
Maximilien31-Mar-10 6:54 
GeneralRe: CListCtrl won't update as expected Pin
David Crow31-Mar-10 7:56
David Crow31-Mar-10 7:56 
GeneralRe: CListCtrl won't update as expected Pin
Code-o-mat31-Mar-10 10:31
Code-o-mat31-Mar-10 10:31 
GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 14:05
Vaclav_31-Mar-10 14:05 
AnswerRe: CListCtrl won't update as expected Pin
Maximilien31-Mar-10 6:45
Maximilien31-Mar-10 6:45 
When dealing with a large number of items in a list ( CListBox, CListCtrl), it is best to learn how to use virtual list boxes (owner drawn lists ) ( read this :virtual lists[^] )

This technique will remove most (if not all) performance issues, mostly when inserting a large number of items at one time in the list.

Another suggestion if you just want to "make it work" is to disable the drawing when inserting items in the list with CWnd::LockWindowUpdate and CWnd::UnlockWindowUpdate.
Watched code never compiles.

GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 7:13
Vaclav_31-Mar-10 7:13 

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.