LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clipboard data changed notification

How can I find out when the clipboard data has changed without constantly polling the clipboard? Can windows notify me about the change? How?
0 Kudos
Message 1 of 2
(2,095 Views)
Not sure if will work for LabVIEW, but essentially you need to register the window to receive messages from the clipboard. This is done using the SetClipboardViewer function. As for receiving/monitoring messages, the message you want is the WM_DRAWCLIPBOARD message. This is sent to the window that was registeres with the SetClipboardViewer function. There's an example here on monitoring Windows messages.
0 Kudos
Message 2 of 2
(2,083 Views)