Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThis pointer Pin
Anu_Bala5-May-06 0:31
Anu_Bala5-May-06 0:31 
AnswerRe: This pointer Pin
_AnsHUMAN_ 5-May-06 0:37
_AnsHUMAN_ 5-May-06 0:37 
AnswerRe: This pointer Pin
Nibu babu thomas5-May-06 0:38
Nibu babu thomas5-May-06 0:38 
AnswerRe: This pointer Pin
toxcct5-May-06 1:01
toxcct5-May-06 1:01 
QuestionHow to sort the rows of CListCtrl Pin
anilksingh5-May-06 0:28
anilksingh5-May-06 0:28 
AnswerRe: How to sort the rows of CListCtrl Pin
_AnsHUMAN_ 5-May-06 0:34
_AnsHUMAN_ 5-May-06 0:34 
GeneralRe: How to sort the rows of CListCtrl Pin
Naveen5-May-06 0:57
Naveen5-May-06 0:57 
AnswerRe: How to sort the rows of CListCtrl Pin
David Crow5-May-06 3:05
David Crow5-May-06 3:05 
anilksingh wrote:
How to sort the rows of CListCtrl depanding upon Particular column.


Provide a HDN_ITEMCLICK handler. In that handler function, the column that was clicked is:

HD_NOTIFY *phdn = (HD_NOTIFY *) pNMHDR;
m_nSortColumn   = phdn->iItem;
Now call SortItems().

anilksingh wrote:
Or Please tell me how to use CListCtrl::SortItems function for sorting.


Be sure to call SetItemData() when adding items to the list control.


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"We will be known forever by the tracks we leave." - Native American Proverb


QuestionSpooling another application from an application Pin
Naveen5-May-06 0:06
Naveen5-May-06 0:06 
AnswerRe: Spooling another application from an application Pin
Nibu babu thomas5-May-06 0:24
Nibu babu thomas5-May-06 0:24 
GeneralRe: Spooling another application from an application Pin
Naveen5-May-06 0:34
Naveen5-May-06 0:34 
AnswerRe: Spooling another application from an application Pin
David Crow5-May-06 3:09
David Crow5-May-06 3:09 
GeneralRe: Spooling another application from an application Pin
Naveen5-May-06 3:17
Naveen5-May-06 3:17 
GeneralRe: Spooling another application from an application Pin
David Crow5-May-06 3:28
David Crow5-May-06 3:28 
GeneralRe: Spooling another application from an application Pin
Naveen5-May-06 3:32
Naveen5-May-06 3:32 
QuestionHow to integrate a binary resource? Pin
Nolyann4-May-06 23:59
Nolyann4-May-06 23:59 
AnswerRe: How to integrate a binary resource? Pin
David Crow5-May-06 3:18
David Crow5-May-06 3:18 
GeneralRe: How to integrate a binary resource? Pin
Nolyann5-May-06 3:33
Nolyann5-May-06 3:33 
GeneralRe: How to integrate a binary resource? Pin
David Crow5-May-06 3:40
David Crow5-May-06 3:40 
GeneralRe: How to integrate a binary resource? Pin
Nolyann7-May-06 21:12
Nolyann7-May-06 21:12 
QuestionHelp for IMpeg2Data & IMpeg2PsiParser Pin
Andy Rama4-May-06 23:56
Andy Rama4-May-06 23:56 
QuestionSocket Pin
Castello074-May-06 23:05
Castello074-May-06 23:05 
AnswerRe: Socket Pin
Roger Stoltz4-May-06 23:17
Roger Stoltz4-May-06 23:17 
GeneralRe: Socket Pin
Castello074-May-06 23:24
Castello074-May-06 23:24 
GeneralRe: Socket Pin
Roger Stoltz4-May-06 23:46
Roger Stoltz4-May-06 23:46 

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.