Thread: Drag and drop

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Kurunegala Colony, Sri Lanka, Sri Lanka

    Drag and drop

    i needed to prevent the users of a program from copying anything (like coping any file or some texts) during the time the program runs. so i made the program to empty the clipboard on every half a second. but they still can copy something by "dragging and dropping". even when i emptied the clipboard, the drag and drop operation works. when dragging and dropping, isn't the data is copied to the clipboard? then how can i prevent the user from coping something by d & d?

    thanx for any help.
    Last edited by geek@02; 09-27-2005 at 10:03 AM.
    My amature IT Blog:
    My Flash games:

    (and, sorry for my amateur English)

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Is this your own program? If it's not your program, I think you'll have to use DLL injection to intercept the WM_DROPFILES message.

  3. #3
    The N00b That Owns You!
    Join Date
    Jul 2005
    New Function!!!!


    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Drag and drop controls
    By pc2-brazil in forum Windows Programming
    Replies: 1
    Last Post: 09-02-2008, 02:41 AM
  2. Drag & Drop files into my (and other) apps
    By Mastadex in forum Windows Programming
    Replies: 1
    Last Post: 11-07-2007, 05:59 AM
  3. DataGrid drag and drop
    By gtriarhos in forum C# Programming
    Replies: 0
    Last Post: 10-11-2005, 12:36 PM
  4. Drag and Drop using CImageList, Device contexts and BitBlt
    By MJWhiteman2 in forum Windows Programming
    Replies: 0
    Last Post: 03-03-2005, 07:22 AM
  5. drag and drop
    By depsypher in forum Windows Programming
    Replies: 2
    Last Post: 01-05-2002, 10:02 PM