Click here to Skip to main content
15,912,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A not so simple define Pin
fefe.wyx6-Sep-06 15:29
fefe.wyx6-Sep-06 15:29 
GeneralRe: A not so simple define Pin
Zac Howland7-Sep-06 4:38
Zac Howland7-Sep-06 4:38 
QuestionA CListCtrl Question Pin
Jethro636-Sep-06 5:21
Jethro636-Sep-06 5:21 
AnswerRe: A CListCtrl Question Pin
Jun Du6-Sep-06 5:45
Jun Du6-Sep-06 5:45 
QuestionRe: A CListCtrl Question Pin
David Crow6-Sep-06 5:53
David Crow6-Sep-06 5:53 
AnswerRe: A CListCtrl Question Pin
Jethro636-Sep-06 6:23
Jethro636-Sep-06 6:23 
GeneralRe: A CListCtrl Question Pin
David Crow6-Sep-06 7:52
David Crow6-Sep-06 7:52 
GeneralRe: A CListCtrl Question Pin
Jethro636-Sep-06 8:24
Jethro636-Sep-06 8:24 
Really? Then I've gone from surprised to utterly gob-smacked. Nobody ever wants the list control to just jump to record N?

If I have a list of records that include, say, dates and times, and the user can search the list for the first record occuring on date XYZ or the nearest record after that. The program engine locates this record, its item #456. Wouldn't it be nice if the next thing that happens is that the list view range is repositioned with this record at the top? We have an inventory tracking system here that does that very thing. It doesn't produce a sub-set of the list (there's other search features that do that) it just adjusts the scroll position so that the record of interest is displayed at the top of the list.

List Boxes and Combo Boxes are loaded with items and have a member to fetch the current position (GetCurSel) and adjust the current item displayed (SetCurSel). It seems odd that this was not extended to CListCtrl.

Nevertheless, I am trying to extend CListCtrl into something with a few extra useful features. If I ever figure out how to do it, this will be one of the items that I add, even if I end up being the only person in explored space that appreciates it. Big Grin | :-D

Thanks for your input.
Mark
GeneralRe: A CListCtrl Question Pin
David Crow6-Sep-06 8:30
David Crow6-Sep-06 8:30 
GeneralRe: A CListCtrl Question Pin
Jethro636-Sep-06 8:41
Jethro636-Sep-06 8:41 
GeneralRe: A CListCtrl Question Pin
Jun Du6-Sep-06 8:38
Jun Du6-Sep-06 8:38 
GeneralRe: A CListCtrl Question Pin
Jethro636-Sep-06 8:47
Jethro636-Sep-06 8:47 
AnswerRe: A CListCtrl Question Pin
Zac Howland6-Sep-06 8:52
Zac Howland6-Sep-06 8:52 
AnswerRe: A CListCtrl Question [modified] Pin
bolivar1236-Sep-06 11:01
bolivar1236-Sep-06 11:01 
QuestionChange window to the XP Style Pin
ines ben hamida6-Sep-06 4:17
ines ben hamida6-Sep-06 4:17 
AnswerRe: Change window to the XP Style Pin
Christopher Duncan6-Sep-06 7:50
Christopher Duncan6-Sep-06 7:50 
QuestionHow to resize the modal dialog Pin
BlrBoy6-Sep-06 4:14
BlrBoy6-Sep-06 4:14 
AnswerRe: How to resize the modal dialog Pin
Viorel.6-Sep-06 4:36
Viorel.6-Sep-06 4:36 
GeneralRe: How to resize the modal dialog Pin
Maximilien6-Sep-06 4:37
Maximilien6-Sep-06 4:37 
QuestionErrors Using CMap Collections Pin
nadiric6-Sep-06 3:43
nadiric6-Sep-06 3:43 
AnswerRe: Errors Using CMap Collections Pin
ahmad_ali6-Sep-06 6:55
ahmad_ali6-Sep-06 6:55 
GeneralRe: Errors Using CMap Collections Pin
nadiric6-Sep-06 7:11
nadiric6-Sep-06 7:11 
GeneralRe: Errors Using CMap Collections Pin
Zac Howland6-Sep-06 9:08
Zac Howland6-Sep-06 9:08 
GeneralRe: Errors Using CMap Collections Pin
nadiric6-Sep-06 10:41
nadiric6-Sep-06 10:41 
GeneralRe: Errors Using CMap Collections Pin
Zac Howland7-Sep-06 4:48
Zac Howland7-Sep-06 4:48 

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.