Re: Trapping for the Pasting from within a Windows Application such as Excel, for Example

From: TC (getmyemails2_at_yahoo.com)
Date: 10/22/04


Date: Fri, 22 Oct 2004 14:34:54 -0400

Hey William,

Thanks for the info.

I am trying to create something from within VB and was wondering if you new
what the constant would be for IDM_PASTE represented as a long?

Regards,

Todd

"William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
news:uvJG1RFuEHA.1308@tk2msftngp13.phx.gbl...
> "TC" <getmyemails2@yahoo.com> wrote in message
> news:OMlkbMFuEHA.2808@TK2MSFTNGP14.phx.gbl...
>> I am wondering if there is a singular to trap for ALL pasting from within
>> a Windows application (i.e. Ctrl-V, Edit>Paste, pasting from the Office
>> Suite Clipboard, etc.)? Is there ultimately a singular notification or
>> message that one can use to trap for ALL circumstances?
>
> You can read the article "Creating a Clipboard Viewer Window" here:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/Clipboard/UsingtheClipboard.asp?frame=true#_win32_Creating_a_Clipboard_Viewer_Window
>
> which explains how to create a window that receives a notification
> evertime the clipboard is changed.
>
> Regards,
> Will
>



Relevant Pages