Click here to Skip to main content
15,924,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetFile( ) function in vc++/MFC Pin
lahom20-May-08 8:50
lahom20-May-08 8:50 
GeneralRe: GetFile( ) function in vc++/MFC Pin
David Crow20-May-08 8:54
David Crow20-May-08 8:54 
GeneralRe: GetFile( ) function in vc++/MFC Pin
lahom20-May-08 9:07
lahom20-May-08 9:07 
GeneralRe: GetFile( ) function in vc++/MFC Pin
David Crow20-May-08 10:18
David Crow20-May-08 10:18 
AnswerRe: GetFile( ) function in vc++/MFC Pin
Hamid_RT15-May-08 20:31
Hamid_RT15-May-08 20:31 
QuestionHow to verify if a password matches the local password policies? Pin
Alex Vargas15-May-08 11:08
Alex Vargas15-May-08 11:08 
QuestionDrag&Drop Sorting in Icon View of CListCtrl Pin
Brett Fowle15-May-08 9:45
Brett Fowle15-May-08 9:45 
QuestionRe: Drag&Drop Sorting in Icon View of CListCtrl Pin
Brett Fowle16-May-08 3:16
Brett Fowle16-May-08 3:16 
Hello again,

I've made quite a bit of progress on this --
All that's left is the correct sorting algorithm.
The algorithm on this is a bit tricky, because on list/report views you can use the HitTest() and get the correct index to swap to...but unfortunately with the thumbnail view, there's dead/white space between each item and if you drop an item between two items, it will not return correct results or any kind of flags to check for...

I figure there's a few instances:
1.) Drag to the right on the same row
2.) Drag to the left on the same row
3.) Drag below on the same column
4.) Drag below to the right
5.) Drag below to the left
6.) Drag above on the same column
7.) Drag above to the right
8.) Drag above to the left

Does anyone have any ideas on how this algo can be achieved?
Thanks
QuestionConsole application junk arguments Pin
kasi1415-May-08 6:29
kasi1415-May-08 6:29 
QuestionRe: Console application junk arguments Pin
David Crow15-May-08 6:48
David Crow15-May-08 6:48 
AnswerRe: Console application junk arguments Pin
kasi1415-May-08 7:55
kasi1415-May-08 7:55 
QuestionRe: Console application junk arguments Pin
David Crow15-May-08 8:04
David Crow15-May-08 8:04 
QuestionMFC Grid control 2.26 Pin
capint15-May-08 5:46
capint15-May-08 5:46 
AnswerRe: MFC Grid control 2.26 Pin
toxcct15-May-08 5:56
toxcct15-May-08 5:56 
AnswerRe: MFC Grid control 2.26 Pin
led mike15-May-08 5:58
led mike15-May-08 5:58 
QuestionRe: MFC Grid control 2.26 Pin
David Crow15-May-08 6:49
David Crow15-May-08 6:49 
AnswerRe: MFC Grid control 2.26 Pin
Cedric Moonen15-May-08 7:11
Cedric Moonen15-May-08 7:11 
AnswerRe: MFC Grid control 2.26 Pin
Hamid_RT15-May-08 9:10
Hamid_RT15-May-08 9:10 
GeneralRe: MFC Grid control 2.26 Pin
capint15-May-08 16:10
capint15-May-08 16:10 
GeneralRe: MFC Grid control 2.26 Pin
Hamid_RT15-May-08 20:42
Hamid_RT15-May-08 20:42 
GeneralRe: MFC Grid control 2.26 Pin
capint15-May-08 22:21
capint15-May-08 22:21 
GeneralRe: MFC Grid control 2.26 Pin
Hamid_RT15-May-08 23:23
Hamid_RT15-May-08 23:23 
GeneralRe: MFC Grid control 2.26 Pin
capint16-May-08 0:14
capint16-May-08 0:14 
GeneralRe: MFC Grid control 2.26 Pin
Hamid_RT16-May-08 0:28
Hamid_RT16-May-08 0:28 
GeneralRe: MFC Grid control 2.26 Pin
capint16-May-08 0:56
capint16-May-08 0:56 

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.