.net 2.0 Richtextbox autodragdrop how to make the control respond to Ctrl key for move copy?

Discussion in 'Microsoft Dot NET' started by positivebalance@hotmail.com, Jan 2, 2007.

  1. Guest

    ..net 2.0 richtextbox autodragdrop how to make the control respond to
    Ctrl key for move copy?

    it's handy to have the enableautodragdrop is true but two odd things I
    notice:

    1. when I first use the control it gives a no dragdrop allowed cursur
    effect but on second dragdrop it works ok forevermore until I change
    the e.drageffect.copy to e.drageffect.move or vice versa. always seems
    to need some initialization but this is not documented anywhere?

    2. I would like to change dragdrop move/copy on the fly by
    holding/letting go the ctrl ( control ) key the way people expect
    dragdrop to operate like in MS Word for example

    Can someone post an example of how to accomplish dragdrop move vs copy
    changes when ctrl key held or not? seems the keyup or keydown event
    needs to re-trigger the dragenter event?

    Anyone got a solution to the autodragdrop first time use issue?
     
    , Jan 2, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DL

    simulate ctrl-c ctrl-v

    DL, Sep 28, 2004, in forum: Microsoft Dot NET
    Replies:
    0
    Views:
    217
  2. David Londeck
    Replies:
    0
    Views:
    176
    David Londeck
    Nov 29, 2004
  3. Guest

    RichTextBox Control

    Guest, Aug 17, 2005, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    209
    Guest
    Aug 18, 2005
  4. Ludwig

    Highlighter RichTextBox control

    Ludwig, Apr 7, 2006, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    177
    Ludwig
    Apr 7, 2006
  5. Dwight
    Replies:
    0
    Views:
    329
    Dwight
    Apr 27, 2007
Loading...

Share This Page