Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery11-Nov-08 8:41
Mark Salsbery11-Nov-08 8:41 
AnswerRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal11-Nov-08 11:25
AmVal11-Nov-08 11:25 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery11-Nov-08 12:39
Mark Salsbery11-Nov-08 12:39 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal12-Nov-08 4:30
AmVal12-Nov-08 4:30 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery12-Nov-08 7:29
Mark Salsbery12-Nov-08 7:29 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal12-Nov-08 10:17
AmVal12-Nov-08 10:17 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery12-Nov-08 10:51
Mark Salsbery12-Nov-08 10:51 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal12-Nov-08 11:24
AmVal12-Nov-08 11:24 
I would prefer not to use the simulated mouse click, that was a last resort. But it appears I may have to, as without it, right now I can't select anything in the list when the user types in the edit control. The mouse click takes care of everything except the initial display. There's gotta be a way to do the same thing on initial display, I just can't figure out where to do it.

If it's not too much trouble, could you give me an example of the code you are suggesting so I can try it?

I'm pretty new to Windows/MFC programming (this is the first time I've even used CListCtrl, much less sent messages, etc. Each step of the way has been a real struggle, looking for examples I can follow, etc. (although I'm learning a TON which is cool!) Even though I don't really like the idea of the simulated mouse click, I was actually kind of impressed that I got it to work Smile | :)

So anyway, a sample of the code you are suggesting would just save me some time trying to figure out how to do it! Thanks a bunch.
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery12-Nov-08 12:04
Mark Salsbery12-Nov-08 12:04 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal13-Nov-08 2:51
AmVal13-Nov-08 2:51 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery13-Nov-08 6:25
Mark Salsbery13-Nov-08 6:25 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
AmVal17-Nov-08 4:30
AmVal17-Nov-08 4:30 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery17-Nov-08 4:34
Mark Salsbery17-Nov-08 4:34 
GeneralRe: How to select an initial entry when Virtual List is first displayed? Pin
Mark Salsbery12-Nov-08 7:35
Mark Salsbery12-Nov-08 7:35 
QuestionException problem Pin
rrrado11-Nov-08 3:44
rrrado11-Nov-08 3:44 
AnswerRe: Exception problem Pin
David Crow11-Nov-08 4:27
David Crow11-Nov-08 4:27 
GeneralRe: Exception problem Pin
rrrado11-Nov-08 4:38
rrrado11-Nov-08 4:38 
GeneralRe: Exception problem Pin
David Crow11-Nov-08 4:55
David Crow11-Nov-08 4:55 
AnswerRe: Exception problem Pin
Rajkumar R12-Nov-08 1:08
Rajkumar R12-Nov-08 1:08 
AnswerRe: Exception problem Pin
Stephen Hewitt11-Nov-08 17:12
Stephen Hewitt11-Nov-08 17:12 
AnswerRe: Exception problem Pin
Randor 11-Nov-08 17:22
professional Randor 11-Nov-08 17:22 
QuestionHelp in CxImage.. Pin
gothic_coder11-Nov-08 3:13
gothic_coder11-Nov-08 3:13 
AnswerRe: Help in CxImage.. Pin
Hamid_RT11-Nov-08 4:20
Hamid_RT11-Nov-08 4:20 
GeneralRe: Help in CxImage.. Pin
gothic_coder11-Nov-08 4:25
gothic_coder11-Nov-08 4:25 
GeneralRe: Help in CxImage.. Pin
Mark Salsbery11-Nov-08 5:50
Mark Salsbery11-Nov-08 5:50 

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.