Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SetClipboardData" in [All]

user32

Enums

.

    /// The WM_RENDERFORMAT message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function.

.

    /// The WM_RENDERALLFORMATS message is sent to the clipboard owner before it is destroyed, if the clipboard owner has delayed rendering one or more clipboard formats. For the content of the clipboard to remain available to other applications, the clipboard owner must render data in all the formats it is capable of generating, and place the data on the clipboard by calling the SetClipboardData function.

.

    '''The WM_RENDERALLFORMATS message is sent to the clipboard owner before it is destroyed if the clipboard owner has delayed rendering one or more clipboard formats. For the content of the clipboard to remain available to other applications the clipboard owner must render data in all the formats it is capable of generating and place the data on the clipboard by calling the SetClipboardData function.

.

    '''The WM_RENDERFORMAT message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function.

Constants

3: WM
.
WM_RENDERALLFORMATS 0x306 The WM_RENDERALLFORMATS message is sent to the clipboard owner before it is destroyed, if the clipboard owner has delayed rendering one or more clipboard formats. For the content of the clipboard to remain available to other applications, the clipboard owner must render data in all the formats it is capable of generating, and place the data on the clipboard by calling the SetClipboardData function.
.
WM_RENDERFORMAT 0x305 The WM_RENDERFORMAT message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function.

coredll

.
Relation
OpenClipboard(), SetClipboardData(), EmptyClipboard()
.

Please see SetClipboardData()

.
Relation
OpenClipboard(), CloseClipboard(), SetClipboardData(), EmptyClipboard()
.

Please see SetClipboardData()

.
Relation
CloseClipboard(), SetClipboardData(), EmptyClipboard()
.

Please see SetClipboardData()

.

static extern int SetClipboardData(int uFormat, IntPtr hMem);

.

<DllImport("coredll.dll")> Shared Function SetClipboardData(ByVal uFormat As Integer, ByVal hMem As IntPtr) As Integer

.

    <DllImport("coredll.dll")> Shared Function SetClipboardData(ByVal uFormat As Integer, ByVal hMem As IntPtr) As Integer

.

        Dim hReturn = SetClipboardData(uFormat.CF_UNICODETEXT, pText)

.

        ' If SetClipboardData succeeds, the system owns the object identified by the hMem parameter.

.
Documentation
[SetClipboardData] on MSDN

 
Access PInvoke.net directly from VS: