Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bit to Byte and base type size in C# Pin
Tristan Rhodes13-Mar-04 4:08
Tristan Rhodes13-Mar-04 4:08 
GeneralRe: Bit to Byte and base type size in C# Pin
leppie13-Mar-04 6:50
leppie13-Mar-04 6:50 
GeneralRe: Bit to Byte and base type size in C# Pin
Tristan Rhodes14-Mar-04 0:17
Tristan Rhodes14-Mar-04 0:17 
GeneralRe: Bit to Byte and base type size in C# Pin
leppie14-Mar-04 5:26
leppie14-Mar-04 5:26 
GeneralRe: Bit to Byte and base type size in C# Pin
Tristan Rhodes14-Mar-04 9:55
Tristan Rhodes14-Mar-04 9:55 
GeneralRe: Bit to Byte and base type size in C# Pin
leppie14-Mar-04 11:22
leppie14-Mar-04 11:22 
GeneralI need help with drag and drop Pin
cristiansje12-Mar-04 22:09
cristiansje12-Mar-04 22:09 
GeneralRe: I need help with drag and drop Pin
John Fisher13-Mar-04 4:17
John Fisher13-Mar-04 4:17 
Here are the basics.

1) Turn AllowDrop on in the list view. Then handle the DragEnter, and DragDrop events at minimum. (DragOver is useful if you need to scroll the view while dragging.)

2) Handle the MouseDown, MouseMove, and MouseUp events on the treeview. If they move the mouse while the button is down, create the desired information and send it into the DoDragDrop method.

3) Any data can be dragged, and any data can be accepted or rejected by the control the mouse is dragging over.

4) You can insert anything you'd like after accepting a drop. There is no requirement that you insert anything into the list that even remotely resembles the item that was dropped. (In fact, you don't have to insert anything, even.)

5) Look around at the many different articles here on CodeProject for information on how to deal with tree views, and list views.

John

"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.

GeneralRe: I need help with drag and drop Pin
cristiansje14-Mar-04 21:34
cristiansje14-Mar-04 21:34 
Generalapi documentation Pin
tonaxxlss12-Mar-04 18:52
susstonaxxlss12-Mar-04 18:52 
GeneralRe: api documentation Pin
Dave Kreskowiak13-Mar-04 2:37
mveDave Kreskowiak13-Mar-04 2:37 
GeneralRe: api documentation Pin
Nick Parker13-Mar-04 10:51
protectorNick Parker13-Mar-04 10:51 
GeneralRe: api documentation Pin
Prakash Nadar14-Mar-04 1:12
Prakash Nadar14-Mar-04 1:12 
Questionhow to change datalist's bind fied by codebehind code? Pin
BigGirlBigEyes12-Mar-04 17:04
BigGirlBigEyes12-Mar-04 17:04 
GeneralDataGrid to DataSet to XML Pin
jazzle12-Mar-04 16:04
jazzle12-Mar-04 16:04 
GeneralRe: DataGrid to DataSet to XML Pin
Mike Ellison12-Mar-04 19:07
Mike Ellison12-Mar-04 19:07 
GeneralRe: DataGrid to DataSet to XML Pin
jazzle13-Mar-04 0:53
jazzle13-Mar-04 0:53 
GeneralRe: DataGrid to DataSet to XML Pin
OmegaSupreme13-Mar-04 2:30
OmegaSupreme13-Mar-04 2:30 
GeneralRe: DataGrid to DataSet to XML Pin
jazzle13-Mar-04 3:30
jazzle13-Mar-04 3:30 
GeneralRe: DataGrid to DataSet to XML Pin
Mike Ellison15-Mar-04 8:29
Mike Ellison15-Mar-04 8:29 
Generalhelp!!! Very strange problem with sending mail Pin
wolft12-Mar-04 15:17
wolft12-Mar-04 15:17 
GeneralRe: help!!! Very strange problem with sending mail Pin
John Fisher13-Mar-04 13:30
John Fisher13-Mar-04 13:30 
GeneralINT to Binary Pin
MrEyes12-Mar-04 14:14
MrEyes12-Mar-04 14:14 
GeneralRe: INT to Binary Pin
PJL12-Mar-04 15:04
PJL12-Mar-04 15:04 
GeneralRe: INT to Binary Pin
Michael Flanakin17-Mar-04 19:36
Michael Flanakin17-Mar-04 19:36 

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.