Click here to Skip to main content
15,924,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion Pin
led mike6-Sep-06 8:53
led mike6-Sep-06 8:53 
AnswerRe: A not so simple define Pin
Zac Howland6-Sep-06 8:42
Zac Howland6-Sep-06 8:42 
GeneralRe: A not so simple define Pin
Waldermort6-Sep-06 13:54
Waldermort6-Sep-06 13:54 
GeneralRe: A not so simple define Pin
Zac Howland7-Sep-06 4:36
Zac Howland7-Sep-06 4:36 
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 
Note the difference between the item indices CListCtrl saved and logical indices you used in putting which item on the top. CListCtrl always sets the top item's index to 1, which you cannot change. If you moved item #500 to the top, then its index will be changed to 1. CListCtrl maintains this indexing for user selection purpose.

Thus, to programmatically move the items any way you want, you have to maintain your own logical indexing, as you do with sorting criteria.

Best,
Jun

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 
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 

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.