Click here to Skip to main content
15,885,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tables in a DataSet Pin
Heath Stewart20-Oct-03 5:29
protectorHeath Stewart20-Oct-03 5:29 
Generalgui behavior Pin
Roger Alsing19-Oct-03 22:30
Roger Alsing19-Oct-03 22:30 
GeneralRe: gui behavior Pin
Heath Stewart20-Oct-03 5:32
protectorHeath Stewart20-Oct-03 5:32 
GeneralRe: gui behavior Pin
DesertLarry21-Oct-03 5:04
DesertLarry21-Oct-03 5:04 
GeneralDll free problem Pin
andyniyong19-Oct-03 22:22
andyniyong19-Oct-03 22:22 
GeneralRe: Dll free problem Pin
leppie20-Oct-03 7:12
leppie20-Oct-03 7:12 
GeneralRe: Dll free problem Pin
andyniyong21-Oct-03 16:04
andyniyong21-Oct-03 16:04 
Questionneed help... Listview drag drop algorithm? Pin
azusakt19-Oct-03 22:04
azusakt19-Oct-03 22:04 
Hello,

I'm recently implementing the drag and drop function of listview. I just need to drag-drop item inside listveiw, e.g, drag one item upper or lower.
However, my code didn't work so good, does any experts got this experience?

The main difficult part for me is to calulate the position of item. for example:
If I drag item 5 over item 3 and then release mouse, item 5 suppose will be placed at the location of item 3, and it works ,item 3 became item 4;
If I drag item 1 over item 3 and then release mouse, item 1 suppose will be placed at the location of item 3, but it always place at location of item 2.

I don't know how to solve it at all, hope someone can help me and show me the example code~~

Thank you
AnswerRe: need help... Listview drag drop algorithm? Pin
Heath Stewart20-Oct-03 5:38
protectorHeath Stewart20-Oct-03 5:38 
GeneralRe: need help... Listview drag drop algorithm? Pin
azusakt21-Oct-03 18:22
azusakt21-Oct-03 18:22 
GeneralRe: need help... Listview drag drop algorithm? Pin
Heath Stewart21-Oct-03 18:36
protectorHeath Stewart21-Oct-03 18:36 
GeneralRe: need help... Listview drag drop algorithm? Pin
azusakt21-Oct-03 22:20
azusakt21-Oct-03 22:20 
GeneralRe: need help... Listview drag drop algorithm? Pin
Heath Stewart22-Oct-03 2:45
protectorHeath Stewart22-Oct-03 2:45 
QuestionCan it be done? Pin
kbilly19-Oct-03 21:06
kbilly19-Oct-03 21:06 
AnswerRe: Can it be done? Pin
Daniel Turini19-Oct-03 21:25
Daniel Turini19-Oct-03 21:25 
GeneralRe: Can it be done? Pin
kbilly19-Oct-03 21:30
kbilly19-Oct-03 21:30 
GeneralRe: Can it be done? Pin
Nick Parker20-Oct-03 5:47
protectorNick Parker20-Oct-03 5:47 
Generalflabberghasted by events Pin
allancto19-Oct-03 18:45
allancto19-Oct-03 18:45 
GeneralRe: flabberghasted by events Pin
Heath Stewart20-Oct-03 5:50
protectorHeath Stewart20-Oct-03 5:50 
QuestionHow can I repait the Caption area? Pin
wangier19-Oct-03 17:26
wangier19-Oct-03 17:26 
AnswerRe: How can I repait the Caption area? Pin
J. Dunlap19-Oct-03 17:29
J. Dunlap19-Oct-03 17:29 
GeneralMessage Removed Pin
19-Oct-03 17:18
Konstantin Gross19-Oct-03 17:18 
GeneralRe: Internet Update Program Pin
Heath Stewart20-Oct-03 5:45
protectorHeath Stewart20-Oct-03 5:45 
QuestionHow to free a dll in C#? Pin
andyniyong19-Oct-03 16:01
andyniyong19-Oct-03 16:01 
AnswerRe: How to free a dll in C#? Pin
Guillermo Rivero19-Oct-03 16:52
Guillermo Rivero19-Oct-03 16:52 

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.