Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem walking all over an array Pin
pblais23-Jun-06 10:53
pblais23-Jun-06 10:53 
GeneralRe: problem walking all over an array Pin
Zac Howland25-Jun-06 8:45
Zac Howland25-Jun-06 8:45 
GeneralRe: problem walking all over an array Pin
pblais26-Jun-06 9:06
pblais26-Jun-06 9:06 
GeneralRe: problem walking all over an array Pin
Zac Howland26-Jun-06 9:28
Zac Howland26-Jun-06 9:28 
GeneralRe: problem walking all over an array Pin
pblais26-Jun-06 10:13
pblais26-Jun-06 10:13 
GeneralRe: problem walking all over an array Pin
Zac Howland26-Jun-06 10:25
Zac Howland26-Jun-06 10:25 
Questionabout printing formulars Pin
ivanris22-Jun-06 8:08
ivanris22-Jun-06 8:08 
Questionmultiple selections in List View (LVS) Pin
aafcls22-Jun-06 8:04
aafcls22-Jun-06 8:04 
Hello!

This is my first post on the Code Project, maybe you can help me.

In my dialog box I have a list view and a check box.

If the check box is unselected, the user should be able to select any list item they wish.

However, if the check box is selected, and there are only two list items, I want both list items automatically selected as it is a requirement of my application (right now, the user has to Shift select both list items before proceeding, and I want to remove this ambiguity by having both required list items selected for them).

However if there are more than two items in the list, there should be no automatic highlighting.

That said, I'm not sure how to go about this in Visual C++ .NET. Any suggestions?

Thank you. Smile | :)
AnswerRe: multiple selections in List View (LVS) Pin
Michael Dunn22-Jun-06 8:28
sitebuilderMichael Dunn22-Jun-06 8:28 
GeneralRe: multiple selections in List View (LVS) Pin
aafcls22-Jun-06 8:48
aafcls22-Jun-06 8:48 
GeneralRe: multiple selections in List View (LVS) Pin
Zac Howland22-Jun-06 9:40
Zac Howland22-Jun-06 9:40 
GeneralRe: multiple selections in List View (LVS) Pin
Michael Dunn22-Jun-06 10:45
sitebuilderMichael Dunn22-Jun-06 10:45 
GeneralRe: multiple selections in List View (LVS) Pin
aafcls23-Jun-06 4:02
aafcls23-Jun-06 4:02 
GeneralRe: multiple selections in List View (LVS) Pin
Michael Dunn23-Jun-06 15:01
sitebuilderMichael Dunn23-Jun-06 15:01 
QuestionTypedef Pin
Jay0322-Jun-06 7:59
Jay0322-Jun-06 7:59 
AnswerRe: Typedef Pin
Michael Dunn22-Jun-06 8:29
sitebuilderMichael Dunn22-Jun-06 8:29 
GeneralRe: Typedef Pin
Jay0322-Jun-06 8:36
Jay0322-Jun-06 8:36 
GeneralRe: Typedef Pin
Zac Howland22-Jun-06 9:33
Zac Howland22-Jun-06 9:33 
GeneralRe: Typedef Pin
Michael Dunn22-Jun-06 10:43
sitebuilderMichael Dunn22-Jun-06 10:43 
GeneralRe: Typedef Pin
Alexander M.,22-Jun-06 16:04
Alexander M.,22-Jun-06 16:04 
Questionlong data type with 64-bit Pin
Alexander M.,22-Jun-06 6:57
Alexander M.,22-Jun-06 6:57 
AnswerRe: long data type with 64-bit Pin
Zac Howland22-Jun-06 7:01
Zac Howland22-Jun-06 7:01 
AnswerRe: long data type with 64-bit Pin
toxcct22-Jun-06 7:24
toxcct22-Jun-06 7:24 
GeneralRe: long data type with 64-bit [modified] Pin
Zac Howland22-Jun-06 7:29
Zac Howland22-Jun-06 7:29 
GeneralRe: long data type with 64-bit Pin
Jörgen Sigvardsson22-Jun-06 11:27
Jörgen Sigvardsson22-Jun-06 11:27 

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.