Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: image acquition Pin
led mike3-Nov-08 10:35
led mike3-Nov-08 10:35 
GeneralRe: image acquition Pin
Bram van Kampen3-Nov-08 15:30
Bram van Kampen3-Nov-08 15:30 
QuestionConverting from CString to char (or simple text) Pin
shpid3r3-Nov-08 7:35
shpid3r3-Nov-08 7:35 
AnswerRe: Converting from CString to char (or simple text) Pin
CPallini3-Nov-08 7:57
mveCPallini3-Nov-08 7:57 
Questionsorting Pin
Member 41579873-Nov-08 6:30
Member 41579873-Nov-08 6:30 
QuestionRe: sorting Pin
David Crow3-Nov-08 6:41
David Crow3-Nov-08 6:41 
AnswerRe: sorting Pin
Bram van Kampen3-Nov-08 15:35
Bram van Kampen3-Nov-08 15:35 
AnswerRe: sorting Pin
Ahmed Charfeddine3-Nov-08 21:55
Ahmed Charfeddine3-Nov-08 21:55 
I do'nt know what grid are you using : anyway I think in most cases you will
have some sort of callback of the type :

int onCompareTwoRows(int row1,int row2,int columnIndex){
}

where you define your comparision mechanism that would then be called by the sorting algo, in the grid implementation you are importing.


based on the column selected (columnIndex) you can just apply the comprarision on the 5 desired rows only :

int onCompareTwoRows(int row1,int row2,int columnIndex){

if(columnIndex==theColumnIwant){
if(row1 && row2 are in the 5 chosen rows set){
return -1,0 or 1 accrding to context..
}
}
else
return 0;

}

"The Awaited Saviour", Mohammed Baqir Al Sadr

Questionglobal new operator issue Pin
Abyss3-Nov-08 5:52
Abyss3-Nov-08 5:52 
AnswerRe: global new operator issue Pin
CPallini3-Nov-08 6:46
mveCPallini3-Nov-08 6:46 
GeneralRe: global new operator issue Pin
Abyss3-Nov-08 7:11
Abyss3-Nov-08 7:11 
GeneralRe: global new operator issue Pin
Mark Salsbery3-Nov-08 9:05
Mark Salsbery3-Nov-08 9:05 
GeneralRe: global new operator issue Pin
Bram van Kampen3-Nov-08 15:37
Bram van Kampen3-Nov-08 15:37 
GeneralRe: global new operator issue Pin
Abyss3-Nov-08 18:49
Abyss3-Nov-08 18:49 
GeneralRe: global new operator issue Pin
Bram van Kampen4-Nov-08 11:05
Bram van Kampen4-Nov-08 11:05 
QuestionFunction arguments and call description Pin
Ahmed Charfeddine3-Nov-08 4:48
Ahmed Charfeddine3-Nov-08 4:48 
AnswerRe: Function arguments and call description Pin
Cedric Moonen3-Nov-08 5:10
Cedric Moonen3-Nov-08 5:10 
GeneralRe: Function arguments and call description Pin
Ahmed Charfeddine3-Nov-08 21:34
Ahmed Charfeddine3-Nov-08 21:34 
GeneralRe: Function arguments and call description Pin
Cedric Moonen4-Nov-08 1:20
Cedric Moonen4-Nov-08 1:20 
AnswerRe: Function arguments and call description [modified] Pin
Bram van Kampen3-Nov-08 15:53
Bram van Kampen3-Nov-08 15:53 
GeneralRe: Function arguments and call description Pin
Ahmed Charfeddine3-Nov-08 21:43
Ahmed Charfeddine3-Nov-08 21:43 
GeneralRe: Function arguments and call description Pin
Bram van Kampen4-Nov-08 10:58
Bram van Kampen4-Nov-08 10:58 
QuestionCatch WM_ENABLE im MessageQueue Pin
baerten3-Nov-08 4:14
baerten3-Nov-08 4:14 
QuestionImport data and compile dll Pin
Andy H3-Nov-08 3:09
Andy H3-Nov-08 3:09 
Questionplaying with the value of HANDLE Pin
Ahmed Charfeddine3-Nov-08 2:43
Ahmed Charfeddine3-Nov-08 2:43 

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.