Click here to Skip to main content
15,914,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldrag drop, list view Pin
Chris Losinger23-Jul-02 9:48
professionalChris Losinger23-Jul-02 9:48 
GeneralRe: drag drop, list view Pin
CaesarCZ23-Jul-02 11:45
CaesarCZ23-Jul-02 11:45 
GeneralRe: drag drop, list view Pin
l a u r e n23-Jul-02 12:27
l a u r e n23-Jul-02 12:27 
GeneralRe: drag drop, list view Pin
Shog923-Jul-02 17:58
sitebuilderShog923-Jul-02 17:58 
GeneralRe: drag drop, list view Pin
Bhikshapathi Gorantla23-Jul-02 19:07
Bhikshapathi Gorantla23-Jul-02 19:07 
GeneralRe: drag drop, list view Pin
Shog924-Jul-02 6:03
sitebuilderShog924-Jul-02 6:03 
GeneralRe: drag drop, list view Pin
Chris Losinger23-Jul-02 19:18
professionalChris Losinger23-Jul-02 19:18 
GeneralRe: drag drop, list view Pin
Shog924-Jul-02 5:51
sitebuilderShog924-Jul-02 5:51 
A possibility for you might be to use the technique Windows Explorer appears to use on Win2k and up. Handle the d&d process as you are now, but instead of using the ImageList d&d support functions, create a small window to display the drag image and position it under the cursor. When the mouse moves, do the highlight and reposition the drag window. If running on Win2k and up, you can use the WS_LAYERED style to prevent excessive redraw as portions of the list are uncovered - and as a side bonus do that cool faded-edges effect like Explorer Wink | ;)

I might try a test implementation later, will let you know if it works well.

Shog9 
--

Maybe Java is kind of like God, it "works in mysterious ways". It seems like your apps are running slowly, because in the backgroud Java is solving world hunger, or finding the cure to cancer.
- Ryan Johnston, Don't die java!


GeneralRe: drag drop, list view Pin
Shog922-Sep-04 7:53
sitebuilderShog922-Sep-04 7:53 
QuestionCDatabase.OpenEx -> obstinate DSN? Pin
Leonard23-Jul-02 9:06
Leonard23-Jul-02 9:06 
Generallistview control question... Pin
l a u r e n23-Jul-02 8:36
l a u r e n23-Jul-02 8:36 
GeneralRe: listview control question... Pin
Jeremy Falcon23-Jul-02 8:57
professionalJeremy Falcon23-Jul-02 8:57 
GeneralRe: listview control question... Pin
l a u r e n23-Jul-02 11:25
l a u r e n23-Jul-02 11:25 
GeneralRe: listview control question... Pin
Shog923-Jul-02 9:05
sitebuilderShog923-Jul-02 9:05 
GeneralRe: listview control question... Pin
l a u r e n23-Jul-02 11:26
l a u r e n23-Jul-02 11:26 
GeneralPassing data from any app to Visual C++ COM objects Pin
Emilio Guijarro23-Jul-02 8:35
Emilio Guijarro23-Jul-02 8:35 
GeneralRe: Passing data from any app to Visual C++ COM objects Pin
l a u r e n23-Jul-02 8:41
l a u r e n23-Jul-02 8:41 
GeneralRe: Passing data from any app to Visual C++ COM objects Pin
Mel Stober23-Jul-02 12:41
Mel Stober23-Jul-02 12:41 
GeneralCustomizing afxMessageBox Icons Pin
JLSogorb23-Jul-02 7:55
sussJLSogorb23-Jul-02 7:55 
GeneralRe: Customizing afxMessageBox Icons Pin
Joaquín M López Muñoz23-Jul-02 12:10
Joaquín M López Muñoz23-Jul-02 12:10 
Generalsyntax error : 'catch' Pin
moredip23-Jul-02 6:46
moredip23-Jul-02 6:46 
GeneralRe: syntax error : 'catch' Pin
Scott H. Settlemier23-Jul-02 7:03
Scott H. Settlemier23-Jul-02 7:03 
GeneralRe: syntax error : 'catch' Pin
moredip23-Jul-02 7:10
moredip23-Jul-02 7:10 
GeneralRe: syntax error : 'catch' Pin
Joaquín M López Muñoz23-Jul-02 7:17
Joaquín M López Muñoz23-Jul-02 7:17 
GeneralRe: syntax error : 'catch' Pin
moredip23-Jul-02 7:27
moredip23-Jul-02 7:27 

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.