Windows 7 and the ClipBoard

From: null <">
Date: Wed, 27 Feb 2013 09:00:07 +0000

----boundary-LibPST-iamunique-1899333077_-_-
Content-type: text/plain

When inserting pure text from the clipboard into a BlackBox text I get the string enriched by (in this case useless) formatting information.

E.g.: I type in a "pure text" formatted message in Outlook 2010 (to be exact: 14.0.6129.5000, 32bit) the following: Bla, select it, and Ctrl-C it to the Clipboard, the I open a new window in BlackBox and Ctrl-V the clipboard contents, and I get:
      PrFont34Bin0BinSub0Frac0Def1Margin0Margin0Jc1Indent1440Lim0Lim1Bla

Does anybody know how to get rid of this behavior or to use it with similar options as in Word 2010 (same Version number as Outlook); in Word a transient option offers to use the "insert mode" for pure text or two different ways to handle the formatted text.

A quick scan in MSDN got me lost in OLE ...

Browsing from BlackBox Menus to BlackBox source finds:

HostCmds.Paste -> HostClipboard.GetClipView ->
      WinOle.OleIsCurrentClipboard followed by WinOle.OleGetClipboard and OleData.GetTextDataView

Regards
--
  Bernhard
----boundary-LibPST-iamunique-1899333077_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgV2hlbiBpbnNlcnRpbmcgcHVyZSB0
ZXh0IGZyb20gdGhlIGNsaXBib2FyZCBpbnRvIGEgQmxhY2tCb3ggdGV4dCBJIGdldCB0aGUgc3Ry
aW5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YXINCkhvc3RDbWRzLlBhc3RlICAtPiBIb3N0Q2xpcGJvYXJkLkdldENsaXBWaWV3IC0+IFxwYXIN
CiAgICAgIFdpbk9sZS5PbGVJc0N1cnJlbnRDbGlwYm9hcmQgZm9sbG93ZWQgYnkgV2luT2xlLk9s
ZUdldENsaXBib2FyZCBhbmQgT2xlRGF0YS5HZXRUZXh0RGF0YVZpZXdccGFyDQpccGFyDQpSZWdh
cmRzXHBhcg0KLS1ccGFyDQogIEJlcm5oYXJkXHB9fQAuYg==
----boundary-LibPST-iamunique-1899333077_-_---
Received on Wed Feb 27 2013 - 10:00:07 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:54 UTC