Click here to Skip to main content
15,910,471 members
Home / Discussions / C#
   

C#

 
GeneralRe: About SqlConnection String in App.config file Pin
Jasmine250123-Nov-06 22:43
Jasmine250123-Nov-06 22:43 
GeneralRe: About SqlConnection String in App.config file Pin
Eduard Keilholz23-Nov-06 22:57
Eduard Keilholz23-Nov-06 22:57 
AnswerRe: About SqlConnection String in App.config file Pin
Colin Angus Mackay24-Nov-06 3:35
Colin Angus Mackay24-Nov-06 3:35 
Question[Message Deleted] Pin
PREMSONBABY23-Nov-06 19:59
PREMSONBABY23-Nov-06 19:59 
AnswerRe: Hi regarding ERP Pin
Jasmine250123-Nov-06 20:30
Jasmine250123-Nov-06 20:30 
General[Message Deleted] Pin
PREMSONBABY23-Nov-06 23:20
PREMSONBABY23-Nov-06 23:20 
GeneralRe: Hi regarding ERP Pin
Jasmine250124-Nov-06 19:45
Jasmine250124-Nov-06 19:45 
QuestionDevexpress Mask Editor Pin
praveenqwe23-Nov-06 19:56
praveenqwe23-Nov-06 19:56 
Questionget unused port number Pin
utsav turray23-Nov-06 19:50
utsav turray23-Nov-06 19:50 
AnswerRe: get unused port number Pin
Shajeel23-Nov-06 20:16
Shajeel23-Nov-06 20:16 
QuestionDate Validation Pin
Deepasubramanian23-Nov-06 19:27
Deepasubramanian23-Nov-06 19:27 
Questionredirecting the contents of command promt to a file Pin
sanki77923-Nov-06 19:23
sanki77923-Nov-06 19:23 
QuestionUsing java script to a XML onto grid view Pin
ah_jiang_923-Nov-06 18:54
ah_jiang_923-Nov-06 18:54 
AnswerRe: Using java script to a XML onto grid view Pin
Benoy Bose23-Nov-06 19:33
Benoy Bose23-Nov-06 19:33 
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 
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 
OK now Im trying to understand what you originally wanted. Wink | ;-)

The AllowedEffect has to be set at the beginning of the drag/drop operation. Afterwards it is read-only.

But nevertheless you can imitate the behaviour of Word:

Start the drag/drop operation with the allowed effects Move AND Copy.
Just fill the data in, but dont remove it yet from the source.
Then just set all target controls to allow ONLY Move and design the DragDrop event handlers in a way that the data is actually moved, so remove it from the source.
Now if the user drags it out of your application almost every other application will pick the copy effect because they dont have any drag/drop handler for a move operation from anything coming from somewhere else. And since you left the original data where it was at the beginning, everything done by other applications will be a copy operation.

And there is your Word behaviour. Inside your application you have a Move, outside you have a Copy.

Got you this time? Wink | ;-)


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

QuestionHow to create an array of label ? Pin
stny200023-Nov-06 15:59
stny200023-Nov-06 15:59 

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.