.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:
    276
  2. Guest

    Use Enter Key or Arrow Key as well as Tab Key

    Guest, Nov 1, 2004, in forum: Microsoft Dot NET
    Replies:
    3
    Views:
    885
    ShaneB
    Nov 1, 2004
  3. David Londeck
    Replies:
    0
    Views:
    259
    David Londeck
    Nov 29, 2004
  4. Guest

    RichTextBox Control

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

    Highlighter RichTextBox control

    Ludwig, Apr 7, 2006, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    247
    Ludwig
    Apr 7, 2006
  6. Dwight
    Replies:
    0
    Views:
    431
    Dwight
    Apr 27, 2007
  7. Anthony Meehan

    WPF RichTextBox control

    Anthony Meehan, Jul 17, 2008, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    708
    Anthony Meehan
    Jul 29, 2008
  8. Bill
    Replies:
    3
    Views:
    1,266
    Dick Grier
    Dec 2, 2008
Loading...