Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMore Help Plz Pin
MrNiceBerG27-Jan-04 18:39
MrNiceBerG27-Jan-04 18:39 
GeneralTrying to capture the screen, Getting some Error Pin
santosh k27-Jan-04 18:24
santosh k27-Jan-04 18:24 
GeneralRe: Trying to capture the screen, Getting some Error Pin
Diddy28-Jan-04 22:40
Diddy28-Jan-04 22:40 
GeneralClass/Overloaded funtion help Pin
tekkie241227-Jan-04 16:29
tekkie241227-Jan-04 16:29 
GeneralRe: Class/Overloaded funtion help Pin
Michael Gunlock27-Jan-04 16:45
Michael Gunlock27-Jan-04 16:45 
GeneralRe: Class/Overloaded funtion help Pin
tekkie241228-Jan-04 13:45
tekkie241228-Jan-04 13:45 
Generalsort item in tree control Pin
kendao27-Jan-04 16:21
kendao27-Jan-04 16:21 
GeneralRe: sort item in tree control Pin
Prakash Nadar27-Jan-04 18:55
Prakash Nadar27-Jan-04 18:55 
You need to determine while sorting that the item is file of a folder for that you use lparam of the TVITEM to store that information.

Then its a matter of logic.
here is the logic.

if(item1 is file && item2 is file)
do the sorting.
if(item1 is folder && item2 is folder2)
do the sorting.
if((item1 is folder && item2 is file) || (item1 is file && item2 is folder))
return the value that will determine wheather the files should be at the top.




Toughest Steel Comes From Hottest Furnance
GeneralLVN_GETDISPINFO Using SendMessage Pin
fordge27-Jan-04 16:05
fordge27-Jan-04 16:05 
GeneralRe: LVN_GETDISPINFO Using SendMessage Pin
Mike Nordell28-Jan-04 0:35
Mike Nordell28-Jan-04 0:35 
Generalparallel port Pin
Member 64882827-Jan-04 15:10
Member 64882827-Jan-04 15:10 
GeneralRe: parallel port Pin
Antti Keskinen27-Jan-04 19:35
Antti Keskinen27-Jan-04 19:35 
GeneralRe: parallel port Pin
Member 64882828-Jan-04 5:33
Member 64882828-Jan-04 5:33 
GeneralRe: parallel port Pin
Antti Keskinen28-Jan-04 6:42
Antti Keskinen28-Jan-04 6:42 
GeneralRe: parallel port Pin
Member 64882829-Jan-04 15:34
Member 64882829-Jan-04 15:34 
GeneralRe: parallel port Pin
Antti Keskinen30-Jan-04 6:30
Antti Keskinen30-Jan-04 6:30 
GeneralDetecting UPS State Pin
Blake Miller27-Jan-04 15:01
Blake Miller27-Jan-04 15:01 
GeneralRe: Detecting UPS State Pin
David Crow28-Jan-04 2:33
David Crow28-Jan-04 2:33 
GeneralWierd thing with caption... Pin
Snyp27-Jan-04 14:44
Snyp27-Jan-04 14:44 
GeneralRe: Wierd thing with caption... Pin
alex.barylski27-Jan-04 18:33
alex.barylski27-Jan-04 18:33 
GeneralRe: Wierd thing with caption... Pin
Antti Keskinen27-Jan-04 21:50
Antti Keskinen27-Jan-04 21:50 
GeneralRe: Wierd thing with caption... Pin
Snyp28-Jan-04 12:15
Snyp28-Jan-04 12:15 
QuestionHow to hide a dialog temporarily and go to CView to pick a point? Pin
lxy27-Jan-04 14:25
lxy27-Jan-04 14:25 
AnswerRe: How to hide a dialog temporarily and go to CView to pick a point? Pin
Antti Keskinen27-Jan-04 21:36
Antti Keskinen27-Jan-04 21:36 
GeneralRe: How to hide a dialog temporarily and go to CView to pick a point? Pin
Anonymous28-Jan-04 16:44
Anonymous28-Jan-04 16:44 

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.