Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Info about Digital image watermarking in the Wavelet transform domain ? Pin
Stephen Hewitt23-Feb-06 19:16
Stephen Hewitt23-Feb-06 19:16 
AnswerRe: Info about Digital image watermarking in the Wavelet transform domain ? Pin
Cool Ju23-Feb-06 20:01
Cool Ju23-Feb-06 20:01 
QuestionSorting items, specifying multiple parameters Pin
Gunn31723-Feb-06 9:25
Gunn31723-Feb-06 9:25 
AnswerRe: Sorting items, specifying multiple parameters Pin
David Crow23-Feb-06 9:35
David Crow23-Feb-06 9:35 
GeneralRe: Sorting items, specifying multiple parameters Pin
Gunn31723-Feb-06 10:15
Gunn31723-Feb-06 10:15 
GeneralRe: Sorting items, specifying multiple parameters Pin
David Crow23-Feb-06 10:30
David Crow23-Feb-06 10:30 
AnswerRe: Sorting items, specifying multiple parameters Pin
Chris Losinger23-Feb-06 9:38
professionalChris Losinger23-Feb-06 9:38 
GeneralRe: Sorting items, specifying multiple parameters Pin
Gunn31723-Feb-06 10:11
Gunn31723-Feb-06 10:11 
Thanks for the info. The link and your sample code basically say the same thing.

Now I just have to figure out how to hook this up when I don't know what the user will choose to sort by. We have a listview with a bunch of columns and need the ability for the user to sort up to four of them at once and in priority order.

Currently with just sorting by one field, I have individual functions to pass to qsort to do this:

int SortByType(void *pElem1, void *pElem2);<br />
int SortByName(void *pElem1, void *pElem2);<br />
etc.


They each do a comparison their particular field. But if the user specifies more than one search criteria, I have to figure out how to get that to qsort()...any ideas?

Thanks again,
GeneralRe: Sorting items, specifying multiple parameters Pin
Chris Losinger23-Feb-06 10:28
professionalChris Losinger23-Feb-06 10:28 
GeneralRe: Sorting items, specifying multiple parameters Pin
Gunn31723-Feb-06 11:08
Gunn31723-Feb-06 11:08 
GeneralRe: Sorting items, specifying multiple parameters Pin
Chris Losinger23-Feb-06 11:17
professionalChris Losinger23-Feb-06 11:17 
AnswerRe: Sorting items, specifying multiple parameters Pin
Stephen Hewitt23-Feb-06 11:20
Stephen Hewitt23-Feb-06 11:20 
GeneralRe: Sorting items, specifying multiple parameters Pin
Gunn31728-Feb-06 2:40
Gunn31728-Feb-06 2:40 
QuestionVisual Studio 6.0 with other compliers Pin
softwaremonkey23-Feb-06 8:21
softwaremonkey23-Feb-06 8:21 
AnswerRe: Visual Studio 6.0 with other compliers Pin
basementman23-Feb-06 8:34
basementman23-Feb-06 8:34 
GeneralRe: Visual Studio 6.0 with other compliers Pin
softwaremonkey23-Feb-06 8:36
softwaremonkey23-Feb-06 8:36 
Questiondevice notification Pin
Manu_8123-Feb-06 7:19
Manu_8123-Feb-06 7:19 
AnswerRe: device notification Pin
David Crow23-Feb-06 8:22
David Crow23-Feb-06 8:22 
QuestionVoice chat using VC++ Pin
gaurav_dixit23-Feb-06 7:05
gaurav_dixit23-Feb-06 7:05 
AnswerRe: Voice chat using VC++ Pin
J512198223-Feb-06 23:53
J512198223-Feb-06 23:53 
QuestionHow to know that I m connected to remote socket or not ? Pin
zinc_z23-Feb-06 6:47
zinc_z23-Feb-06 6:47 
Questionpreview file/directory deletion Pin
Chintoo72323-Feb-06 6:31
Chintoo72323-Feb-06 6:31 
AnswerRe: preview file/directory deletion Pin
peterchen23-Feb-06 6:39
peterchen23-Feb-06 6:39 
QuestionRepaint Problem Pin
Deviantizh23-Feb-06 6:17
Deviantizh23-Feb-06 6:17 
AnswerRe: Repaint Problem Pin
peterchen23-Feb-06 6:30
peterchen23-Feb-06 6:30 

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.