Click here to Skip to main content
15,906,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Shell Replacement Pin
Bram van Kampen30-Jan-10 14:37
Bram van Kampen30-Jan-10 14:37 
GeneralRe: Windows Shell Replacement Pin
Code-o-mat30-Jan-10 6:39
Code-o-mat30-Jan-10 6:39 
AnswerRe: Windows Shell Replacement Pin
Saurabh.Garg29-Jan-10 15:59
Saurabh.Garg29-Jan-10 15:59 
GeneralRe: Windows Shell Replacement Pin
Code-o-mat30-Jan-10 6:38
Code-o-mat30-Jan-10 6:38 
Questiontree view using form view. Pin
santhosh-padamatinti29-Jan-10 7:48
santhosh-padamatinti29-Jan-10 7:48 
AnswerRe: tree view using form view. Pin
Maximilien29-Jan-10 8:39
Maximilien29-Jan-10 8:39 
AnswerRe: tree view using form view. Pin
KingsGambit29-Jan-10 8:44
KingsGambit29-Jan-10 8:44 
QuestionSend Mail Pin
Member 686483929-Jan-10 6:27
Member 686483929-Jan-10 6:27 
AnswerRe: Send Mail Pin
CPallini29-Jan-10 6:48
mveCPallini29-Jan-10 6:48 
QuestionRe: Send Mail Pin
David Crow30-Jan-10 5:24
David Crow30-Jan-10 5:24 
AnswerRe: Send Mail Pin
Member 686483930-Jan-10 10:00
Member 686483930-Jan-10 10:00 
GeneralRe: Send Mail Pin
David Crow30-Jan-10 12:15
David Crow30-Jan-10 12:15 
QuestionListBox redrawing Pin
Rock Bottom29-Jan-10 6:13
Rock Bottom29-Jan-10 6:13 
AnswerRe: ListBox redrawing Pin
LunaticFringe29-Jan-10 8:54
LunaticFringe29-Jan-10 8:54 
GeneralRe: ListBox redrawing Pin
Rock Bottom29-Jan-10 8:57
Rock Bottom29-Jan-10 8:57 
GeneralRe: ListBox redrawing Pin
LunaticFringe29-Jan-10 9:32
LunaticFringe29-Jan-10 9:32 
GeneralRe: ListBox redrawing Pin
Rock Bottom29-Jan-10 9:59
Rock Bottom29-Jan-10 9:59 
AnswerRe: ListBox redrawing Pin
David Crow30-Jan-10 5:26
David Crow30-Jan-10 5:26 
GeneralRe: ListBox redrawing Pin
Rock Bottom1-Feb-10 5:55
Rock Bottom1-Feb-10 5:55 
Upon further investigation, it turns out that the child control is receiving messages asking it to traverse through all the lines in the selected item. For each of the lines, it receives the following itemAction and itemState (in this order):

1. ODA_SELECT with ODS_SELECTED
2. ODA_FOCUS with ODS_DEFAULT | ODS_SELECTED
3. ODA_FOCUS with ODS_SELECTED
4. ODA_SELECT with 0

Unfortunately, events 1 and 4 cause the program to select/deselect all the rows in the multi-row item, which results in huge flickering. Fortunately, our redraw function does nothing on events 2 and 3 Poke tongue | ;-P . So right now, my question is:

1. Is this traversing of all the items something that was implemented in the TListBox base class or are we telling it to do that somewhere in our code?
2. Also, is it better to override this traversing to do one big redraw or to override the handling to only select, deselect, then re-select each row?
QuestioncapPreview() slow problem... Pin
Aric Wang29-Jan-10 5:24
Aric Wang29-Jan-10 5:24 
AnswerRe: capPreview() slow problem... Pin
Richard MacCutchan29-Jan-10 6:22
mveRichard MacCutchan29-Jan-10 6:22 
GeneralRe: capPreview() slow problem... Pin
Aric Wang29-Jan-10 6:48
Aric Wang29-Jan-10 6:48 
GeneralRe: capPreview() slow problem... Pin
Richard MacCutchan29-Jan-10 9:17
mveRichard MacCutchan29-Jan-10 9:17 
GeneralRe: capPreview() slow problem... [modified] Pin
Aric Wang29-Jan-10 16:10
Aric Wang29-Jan-10 16:10 
AnswerRe: capPreview() slow problem... Pin
Chris Meech29-Jan-10 6:33
Chris Meech29-Jan-10 6:33 

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.