locked
how to tag clipboard text RRS feed

  • Question

  • Hi,

    Is it possible if windows tag the clipboard to check if it's related my application or to other application?

    Thanks,

    Jassim

    Sunday, July 27, 2014 9:58 PM

Answers

  • No. On the other hand, it's your application's responsibility to ask the clipboard whether it holds content in a format your program recognize. (The same clipboard data can be hold in a number of formats. For example your RTF copied data should also available in plain CF_TEXT format, or CF_UNICODETEXT if it supports Unicode)

    Just try ContainsData() with the format you knows that holds the most complex (therefore most complete) data then goes one by one to the rest.

    • Marked as answer by Fred Bao Monday, August 4, 2014 6:45 AM
    Monday, July 28, 2014 6:28 AM
    Answerer