Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serialization of enumerated types Pin
Nelek27-Sep-07 3:10
protectorNelek27-Sep-07 3:10 
QuestionLVN_ONITEMCHANGING Pin
paper6726-Sep-07 4:54
paper6726-Sep-07 4:54 
AnswerRe: LVN_ONITEMCHANGING Pin
Nelek26-Sep-07 5:37
protectorNelek26-Sep-07 5:37 
AnswerRe: LVN_ONITEMCHANGING Pin
Mark Salsbery26-Sep-07 5:46
Mark Salsbery26-Sep-07 5:46 
GeneralRe: LVN_ONITEMCHANGING Pin
paper6726-Sep-07 6:36
paper6726-Sep-07 6:36 
QuestionRe: LVN_ONITEMCHANGING Pin
Mark Salsbery26-Sep-07 7:12
Mark Salsbery26-Sep-07 7:12 
AnswerRe: LVN_ONITEMCHANGING Pin
paper6726-Sep-07 7:44
paper6726-Sep-07 7:44 
GeneralRe: LVN_ONITEMCHANGING Pin
Mark Salsbery26-Sep-07 8:05
Mark Salsbery26-Sep-07 8:05 
paper67 wrote:
I want to prevent multiple items from being selected


Always or sometimes?

If always, then the LVS_SINGLESEL style should be used for the control.

If sometimes, the control isn't going to keep track of this for you AFAIK.

Depending on the complexity of the logic involved, you may need to handle
item selection yourself, overriding the control's default behavior.

Default List-View Message Processing[^]

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionRe: LVN_ONITEMCHANGING Pin
Nelek26-Sep-07 20:25
protectorNelek26-Sep-07 20:25 
Questionoperator delete Pin
Waldermort26-Sep-07 4:13
Waldermort26-Sep-07 4:13 
AnswerRe: operator delete Pin
Maximilien26-Sep-07 4:25
Maximilien26-Sep-07 4:25 
AnswerRe: operator delete [modified] Pin
Randor 26-Sep-07 5:26
professional Randor 26-Sep-07 5:26 
GeneralRe: operator delete Pin
Waldermort26-Sep-07 6:23
Waldermort26-Sep-07 6:23 
Questionsyatem level Hooks related issue Pin
Sharad Goyal26-Sep-07 4:00
Sharad Goyal26-Sep-07 4:00 
AnswerRe: syatem level Hooks related issue Pin
ThatsAlok26-Sep-07 19:35
ThatsAlok26-Sep-07 19:35 
Questionthe function FILE Pin
youbo26-Sep-07 3:01
youbo26-Sep-07 3:01 
AnswerRe: the function FILE Pin
jhwurmbach26-Sep-07 3:34
jhwurmbach26-Sep-07 3:34 
AnswerRe: the function FILE Pin
toxcct26-Sep-07 3:40
toxcct26-Sep-07 3:40 
Questiongraph include? Pin
srvsah26-Sep-07 2:35
srvsah26-Sep-07 2:35 
AnswerRe: graph include? Pin
David Crow26-Sep-07 2:37
David Crow26-Sep-07 2:37 
GeneralRe: graph include? Pin
srvsah26-Sep-07 2:40
srvsah26-Sep-07 2:40 
GeneralRe: graph include? Pin
David Crow26-Sep-07 2:44
David Crow26-Sep-07 2:44 
GeneralRe: graph include? Pin
srvsah26-Sep-07 2:52
srvsah26-Sep-07 2:52 
GeneralRe: graph include? Pin
David Crow26-Sep-07 2:57
David Crow26-Sep-07 2:57 
AnswerRe: graph include? Pin
Nishad S26-Sep-07 2:40
Nishad S26-Sep-07 2:40 

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.