Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
GeneralRe: Direction for noob Pin
Patrick Etc.5-Jan-08 3:13
Patrick Etc.5-Jan-08 3:13 
GeneralFonts and resources Pin
Mike Hankey4-Jan-08 15:04
mveMike Hankey4-Jan-08 15:04 
QuestionCode generator for creating properties for ALL public fields in a class? Pin
Patrick Etc.4-Jan-08 12:40
Patrick Etc.4-Jan-08 12:40 
AnswerRe: Code generator for creating properties for ALL public fields in a class? Pin
Patrick Etc.4-Jan-08 15:28
Patrick Etc.4-Jan-08 15:28 
QuestionGet the caption (or text) of a running application Pin
Member 45292174-Jan-08 12:34
Member 45292174-Jan-08 12:34 
GeneralRe: Get the caption (or text) of a running application Pin
Christian Graus4-Jan-08 13:08
protectorChristian Graus4-Jan-08 13:08 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292175-Jan-08 17:45
Member 45292175-Jan-08 17:45 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292177-Jan-08 1:54
Member 45292177-Jan-08 1:54 
GeneralRe: Get the caption (or text) of a running application Pin
Muammar©4-Jan-08 22:27
Muammar©4-Jan-08 22:27 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292175-Jan-08 17:47
Member 45292175-Jan-08 17:47 
GeneralRe: Get the caption (or text) of a running application Pin
Muammar©5-Jan-08 18:33
Muammar©5-Jan-08 18:33 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292176-Jan-08 11:18
Member 45292176-Jan-08 11:18 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292176-Jan-08 11:45
Member 45292176-Jan-08 11:45 
GeneralRe: Get the caption (or text) of a running application Pin
Member 45292176-Jan-08 12:03
Member 45292176-Jan-08 12:03 
GeneralRe: Get the caption (or text) of a running application Pin
Muammar©6-Jan-08 20:05
Muammar©6-Jan-08 20:05 
QuestionDrag'n Drop from ListViewControl Pin
kozu4-Jan-08 11:56
kozu4-Jan-08 11:56 
Hi,
I'm trying to implement a drag'n drop from a multiselect listView to a tree. The code is as follows:
private void listView1_ItemDrag(object sender, System.Windows.Forms.ItemDragEventArgs e)
{
listView1.DoDragDrop(listView1.SelectedItems, DragDropEffects.Copy);
}

private void treeView1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
{
if (e.Data.GetDataPresent(typeof(ListView.SelectedListViewItemCollection)))
e.Effect = DragDropEffects.Copy;
}

private void treeView1_DragDrop(object sender, System.Windows.Forms.DragEventArgs e)
{
//do something here
}

Everything is fine, except that a lot of times the list thinks I'm trying to select items instead of initiating a drag'n drop. Is there a listView setting I'm missing somehow?

thanx
GeneralRe: Drag'n Drop from ListViewControl Pin
Patrick Etc.5-Jan-08 3:17
Patrick Etc.5-Jan-08 3:17 
QuestionWebBrowser control only passing cookies on development machine [modified] Pin
Miles4-Jan-08 11:45
Miles4-Jan-08 11:45 
QuestionDrag and drop user control on double buffered panel ??? Pin
conemajstor4-Jan-08 10:54
conemajstor4-Jan-08 10:54 
Questionhow can i get the level of battery and memory in c# code ? Pin
E_Gold4-Jan-08 10:01
E_Gold4-Jan-08 10:01 
Generalconnecting labels on a panel with lines Pin
dfn4-Jan-08 9:46
dfn4-Jan-08 9:46 
GeneralRe: connecting labels on a panel with lines Pin
dfn4-Jan-08 9:49
dfn4-Jan-08 9:49 
GeneralRe: connecting labels on a panel with lines Pin
Christian Graus4-Jan-08 9:52
protectorChristian Graus4-Jan-08 9:52 
GeneralRe: connecting labels on a panel with lines Pin
dfn4-Jan-08 10:38
dfn4-Jan-08 10:38 
QuestionHow to upload heavy duty files Pin
er.ankitsingh4-Jan-08 8:51
er.ankitsingh4-Jan-08 8:51 

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.