Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp voice chat tech :((( Pin
phamdoan6-Sep-04 18:38
phamdoan6-Sep-04 18:38 
QuestionHow to link the submenu and dialog in MFC dialog based application? Pin
anuchelvi6-Sep-04 17:18
anuchelvi6-Sep-04 17:18 
QuestionHow to disable device in 98/me Pin
max_xiayi6-Sep-04 14:56
max_xiayi6-Sep-04 14:56 
QuestionHow to disable device in 98/me Pin
max_xiayi6-Sep-04 14:56
max_xiayi6-Sep-04 14:56 
GeneralMapping Modes, and Font Size Pin
CoreyCooper6-Sep-04 13:56
CoreyCooper6-Sep-04 13:56 
GeneralListCtrl Stuff Pin
Grahamfff6-Sep-04 11:49
Grahamfff6-Sep-04 11:49 
GeneralRe: ListCtrl Stuff Pin
valikac6-Sep-04 16:50
valikac6-Sep-04 16:50 
GeneralCTreeCtrl and SortChildrenCB Pin
Al_Bundy6-Sep-04 11:08
Al_Bundy6-Sep-04 11:08 
Hi,

There's some problem in MFC's documentation about CTreeCtrl::SortChildrenCB method. The parameters in the callback function are not handles to the tree items but the datas of the items..

My problem is my tree can have subfolders and when i sort i want subfolders reside on the top ( alphabetically sorted within themselves ) and the leafs under them ( again alphabetically sorted ). I distinguish the subfolder and leafs with their data ( leafs being 0 and subfolders being some positive values ). So i can use the parameters of the callback function to separate subfolder from leaf but i couldn't figure out how i could get the item's text so that i can sort them...

Any help is appreciated. Thanks in advance.
GeneralRe: CTreeCtrl and SortChildrenCB Pin
Ryan Binns6-Sep-04 18:31
Ryan Binns6-Sep-04 18:31 
GeneralRe: CTreeCtrl and SortChildrenCB Pin
Al_Bundy7-Sep-04 7:14
Al_Bundy7-Sep-04 7:14 
GeneralDefragmenting Pin
gamitech6-Sep-04 10:23
gamitech6-Sep-04 10:23 
GeneralRe: Defragmenting Pin
Darren_vms6-Sep-04 10:49
Darren_vms6-Sep-04 10:49 
GeneralRe: Defragmenting Pin
gamitech6-Sep-04 10:51
gamitech6-Sep-04 10:51 
GeneralHelp Pin
Timothy Grabrian6-Sep-04 8:21
professionalTimothy Grabrian6-Sep-04 8:21 
GeneralRe: Help Pin
Jon Hulatt6-Sep-04 10:34
Jon Hulatt6-Sep-04 10:34 
GeneralAddFontResource + pfm && pfb Pin
globus0006-Sep-04 5:02
globus0006-Sep-04 5:02 
GeneralRe: AddFontResource + pfm && pfb Pin
Mike Dimmick6-Sep-04 13:01
Mike Dimmick6-Sep-04 13:01 
GeneralLibrary: converting to/from UTF-x Pin
peterchen6-Sep-04 4:34
peterchen6-Sep-04 4:34 
GeneralRe: Library: converting to/from UTF-x Pin
DrusTheAxe6-Sep-04 4:55
DrusTheAxe6-Sep-04 4:55 
GeneralRe: Library: converting to/from UTF-x Pin
peterchen6-Sep-04 7:23
peterchen6-Sep-04 7:23 
GeneralBlueTooth communication Pin
eli150219796-Sep-04 4:31
eli150219796-Sep-04 4:31 
GeneralRe: BlueTooth communication Pin
Trollslayer6-Sep-04 5:11
mentorTrollslayer6-Sep-04 5:11 
GeneralRe: BlueTooth communication Pin
Ryan Binns6-Sep-04 18:43
Ryan Binns6-Sep-04 18:43 
GeneralCEdit question Pin
0v3rloader6-Sep-04 4:08
0v3rloader6-Sep-04 4:08 
Generalaccessing Windows Files .. Pin
Sudhakar Pasupunuri6-Sep-04 3:58
Sudhakar Pasupunuri6-Sep-04 3:58 

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.