Click here to Skip to main content
16,006,001 members
Home / Discussions / C#
   

C#

 
Questionhow to open a folder in a designated location Pin
Shirley, Wang23-Nov-06 18:14
Shirley, Wang23-Nov-06 18:14 
AnswerRe: how to open a folder in a designated location Pin
Eduard Keilholz24-Nov-06 5:12
Eduard Keilholz24-Nov-06 5:12 
Questionhow to override ondatabinding in case of binding data to datagrid Pin
333soori23-Nov-06 17:54
333soori23-Nov-06 17:54 
AnswerRe: how to override ondatabinding in case of binding data to datagrid Pin
Jasmine250123-Nov-06 20:57
Jasmine250123-Nov-06 20:57 
Questiondrag and drop issue... Pin
Super Lloyd23-Nov-06 16:44
Super Lloyd23-Nov-06 16:44 
AnswerRe: drag and drop issue... Pin
Weckmann23-Nov-06 22:16
Weckmann23-Nov-06 22:16 
GeneralRe: drag and drop issue... Pin
Super Lloyd23-Nov-06 22:25
Super Lloyd23-Nov-06 22:25 
GeneralRe: drag and drop issue... Pin
Weckmann23-Nov-06 23:28
Weckmann23-Nov-06 23:28 
Well, when you start the dragdrop operation you can set the effects which are allowed. After that point it is up to the component over which the cursor is dragged which of these effects are shown. So if it is a component which does not belong to your application, you can only give it a set of effects and which of those will be chosen is up to the application.

I made a very very simple example:

http://g10.wilde-edv.de/PublicStuff/DragDropTest.zip

There you can drag the Button1 to the text field or to the button2. I set the allowed effects to copy and move. The button2 only accepts move and the text field only copy. So the icon is changed to the appropriate effect as soon as you drag over the control.

When you drag outside the form the other applications will pick either the copy or the move effect, or none if they do not accept the data.

Hope that helps.


--------------------
Bertram Weckmann
www.svizzer.com
--------------------

GeneralRe: drag and drop issue... Pin
Super Lloyd24-Nov-06 0:51
Super Lloyd24-Nov-06 0:51 
GeneralRe: drag and drop issue... Pin
Weckmann24-Nov-06 1:12
Weckmann24-Nov-06 1:12 
QuestionHow to create an array of label ? Pin
stny200023-Nov-06 15:59
stny200023-Nov-06 15:59 
AnswerRe: How to create an array of label ? Pin
Christian Graus23-Nov-06 16:37
protectorChristian Graus23-Nov-06 16:37 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:04
stny200023-Nov-06 17:04 
GeneralRe: How to create an array of label ? Pin
Christian Graus23-Nov-06 17:13
protectorChristian Graus23-Nov-06 17:13 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:39
stny200023-Nov-06 17:39 
AnswerRe: How to create an array of label ? Pin
Amar Chaudhary23-Nov-06 16:46
Amar Chaudhary23-Nov-06 16:46 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:09
stny200023-Nov-06 17:09 
GeneralRe: How to create an array of label ? Pin
Amar Chaudhary23-Nov-06 17:18
Amar Chaudhary23-Nov-06 17:18 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:37
stny200023-Nov-06 17:37 
QuestionCorba & C# Pin
ezazazel23-Nov-06 14:49
ezazazel23-Nov-06 14:49 
AnswerRe: Corba & C# Pin
Paresh Gheewala23-Nov-06 16:06
Paresh Gheewala23-Nov-06 16:06 
QuestionA wired problem in static classes Pin
Amar Chaudhary23-Nov-06 11:57
Amar Chaudhary23-Nov-06 11:57 
AnswerRe: A wired problem in static classes Pin
Amar Chaudhary23-Nov-06 12:10
Amar Chaudhary23-Nov-06 12:10 
GeneralRe: A wired problem in static classes Pin
Christian Graus23-Nov-06 12:38
protectorChristian Graus23-Nov-06 12:38 
AnswerRe: A wired problem in static classes Pin
Rob Graham23-Nov-06 13:53
Rob Graham23-Nov-06 13:53 

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.