Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete breaking heap [modified] Pin
Eugen Podsypalnikov5-Apr-10 20:22
Eugen Podsypalnikov5-Apr-10 20:22 
AnswerRe: delete breaking heap [modified] - solved Pin
Tim Craig6-Apr-10 8:34
Tim Craig6-Apr-10 8:34 
QuestionhInstance / Win32 Pin
Fareed Rizkalla5-Apr-10 6:19
Fareed Rizkalla5-Apr-10 6:19 
AnswerRe: hInstance / Win32 Pin
Chris Meech5-Apr-10 6:27
Chris 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
Fareed 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
includeh105-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
David Crow5-Apr-10 16:36 
Questionc progrmng code help for the following algo Pin
abhijit.hzrk5-Apr-10 5:38
abhijit.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
Member 5903105-Apr-10 2:28 
AnswerRe: code page Pin
Emilio Garavaglia5-Apr-10 20:42
Emilio 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
glitteringsound5-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
enhzflep5-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
glitteringsound5-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
enhzflep5-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
Chris Meech5-Apr-10 4:54 
Questionlocalization issue Pin
Member 5903105-Apr-10 0:14
Member 5903105-Apr-10 0:14 
QuestionCListCtrl SortGroups by name Pin
Abinash Mohanty4-Apr-10 23:14
Abinash Mohanty4-Apr-10 23:14 
AnswerRe: CListCtrl SortGroups by name Pin
David Crow2-Jan-11 15:01
David Crow2-Jan-11 15:01 
QuestionC++ socket and thread [modified] Pin
canard294-Apr-10 22:29
canard294-Apr-10 22:29 
AnswerRe: C++ socket and thread Pin
Moak4-Apr-10 23:29
Moak4-Apr-10 23:29 
GeneralRe: C++ socket and thread Pin
canard295-Apr-10 2:14
canard295-Apr-10 2:14 
GeneralRe: C++ socket and thread Pin
Moak5-Apr-10 3:04
Moak5-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.