User Profile

Collapse

Profile Sidebar

Collapse
johnsheares
johnsheares
Last Activity: Sep 22 '09, 04:15 PM
Joined: Sep 21 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • johnsheares
    replied to which application put data into clipboard
    in .NET
    Nope, it could be any application that puts any type of data into the clipboard. My solution is back a few posts. This is how it works:

    In the configuration of section of my program, I have a property that stores the application being monitored, which is the exe filename. When I get a clipboard content changed notification, I find the processid from the owner handle that last put data into the clipboard using GetClipboardOwn er...
    See more | Go to post

    Leave a comment:


  • johnsheares
    replied to which application put data into clipboard
    in .NET
    I figured it out after doing some more research. Here is the code that I put in the clipboard change event.


    IntPtr ownerHwnd = GetClipboardOwn er();

    uint processId;
    GetWindowThread ProcessId(owner Hwnd, out processId);
    Process process = Process.GetProc essById((int)pr ocessId);
    Debug.WriteLine (String.Format( "Owner: {0}, processid: {1} Title: {2} Exe: {3}", ownerHwnd.ToStr ing("X8"),...
    See more | Go to post

    Leave a comment:


  • johnsheares
    started a topic which application put data into clipboard
    in .NET

    which application put data into clipboard

    Is there a way to find out which application put data into the clipboard. I want my app to respond only when data was put into the clipboard from a specific application. The clipboard notifier code that I am using
    See more | Go to post
No activity results to display
Show More
Working...