Click here to Skip to main content
15,395,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete breaking heap [modified] Pin
Eugen Podsypalnikov5-Apr-10 20:22
MemberEugen Podsypalnikov5-Apr-10 20:22 
AnswerRe: delete breaking heap [modified] - solved Pin
Tim Craig6-Apr-10 8:34
MemberTim Craig6-Apr-10 8:34 
QuestionhInstance / Win32 Pin
Fareed Rizkalla5-Apr-10 6:19
MemberFareed Rizkalla5-Apr-10 6:19 
AnswerRe: hInstance / Win32 Pin
Chris Meech5-Apr-10 6:27
MemberChris Meech5-Apr-10 6:27 
AnswerRe: hInstance / Win32 Pin
Joe Woodbury5-Apr-10 6:31
professionalJoe Woodbury5-Apr-10 6:31 
QuestionRe: hInstance / Win32 Pin
Fareed Rizkalla5-Apr-10 6:44
MemberFareed Rizkalla5-Apr-10 6:44 
AnswerRe: hInstance / Win32 Pin
Joe Woodbury5-Apr-10 7:02
professionalJoe Woodbury5-Apr-10 7:02 
Questionsort CListCtrl specially Pin
includeh105-Apr-10 6:18
Memberincludeh105-Apr-10 6:18 
I use an example to explain:

The CListCtrl contains :
* 2 columns
room name and value, different rooms may have same value.
* 100 rows
each row represents a room.

Item data are assigned with room ID (int), which are from 1 to 100 uniquely.

When user clicks CListCtrl header of name or value, items are sorted ascendantly or decendently with name or value respectively.

Above are easy, now I need extra sorting:
The room with ID of 10 exactly follows room 9, 20 follows 19, and so on to 100 follows 99.
In other words, (9,10), (19,20), ..., (99,100) are in "team".

The extra sorting is not affected by name and value sorting.

Any ideas or suggestions?
Thanks.
QuestionRe: sort CListCtrl specially Pin
David Crow5-Apr-10 16:36
MemberDavid Crow5-Apr-10 16:36 
Questionc progrmng code help for the following algo Pin
abhijit.hzrk5-Apr-10 5:38
Memberabhijit.hzrk5-Apr-10 5:38 
AnswerRe: c progrmng code help for the following algo Pin
Chris Losinger5-Apr-10 8:07
professionalChris Losinger5-Apr-10 8:07 
Questioncode page Pin
Member 5903105-Apr-10 2:28
MemberMember 5903105-Apr-10 2:28 
AnswerRe: code page Pin
Emilio Garavaglia5-Apr-10 20:42
MemberEmilio Garavaglia5-Apr-10 20:42 
QuestionNeed to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? [modified] Pin
glitteringsound5-Apr-10 2:09
Memberglitteringsound5-Apr-10 2:09 
AnswerRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
enhzflep5-Apr-10 2:41
Memberenhzflep5-Apr-10 2:41 
GeneralRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
glitteringsound5-Apr-10 3:03
Memberglitteringsound5-Apr-10 3:03 
GeneralRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
enhzflep5-Apr-10 3:28
Memberenhzflep5-Apr-10 3:28 
AnswerRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
Chris Meech5-Apr-10 4:54
MemberChris Meech5-Apr-10 4:54 
Questionlocalization issue Pin
Member 5903105-Apr-10 0:14
MemberMember 5903105-Apr-10 0:14 
QuestionCListCtrl SortGroups by name Pin
Abinash Mohanty4-Apr-10 23:14
MemberAbinash Mohanty4-Apr-10 23:14 
AnswerRe: CListCtrl SortGroups by name Pin
David Crow2-Jan-11 15:01
MemberDavid Crow2-Jan-11 15:01 
QuestionC++ socket and thread [modified] Pin
canard294-Apr-10 22:29
Membercanard294-Apr-10 22:29 
AnswerRe: C++ socket and thread Pin
Moak4-Apr-10 23:29
MemberMoak4-Apr-10 23:29 
GeneralRe: C++ socket and thread Pin
canard295-Apr-10 2:14
Membercanard295-Apr-10 2:14 
GeneralRe: C++ socket and thread Pin
Moak5-Apr-10 3:04
MemberMoak5-Apr-10 3:04 

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.