Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 10 APR 2002 07:45:33PM Roman wrote:

How can I load an image from clipboard into a bitmap control?

Thanks in advance,

Roman


At 11 APR 2002 07:24AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Roman,

How can I load an image from clipboard into a bitmap control?

Short answer is you can't as you'd need some sort of direct access to the bitmap handle and memory that the bitmap control is using and this is not exposed by OI (more's the pity ).

You could however draw thw bitmap yourself using GDI and/or the ImageMan DLL that ships with OI if you want to venture into the world of Windows API programming!

The Sprezzatura Group

World leaders in all things RevSoft

www.sprezzatura.com_zz.jpg


At 11 APR 2002 10:53AM Oystein Reigem wrote:

Roman,

Why is it you want to do that? Perhaps there are alternatives.

- Oystein -


At 11 APR 2002 02:07PM Roman wrote:

I`m scanning a document using third-party dll and the resulting image is stored in Clipboard. Scanning directly into a file hangs up the system for unknown reasons. So I used the Clipboard as a workaround and it works fine.

I don`t mind using API calls. I looked into imgman32.dll which Spezzatura suggested and it looks useful for our purpose. But how can I find out which functions to use and what their parameters are?


At 11 APR 2002 02:54PM Pat McNerthney wrote:

  • third_party_content/community/commentary/forums_nonworks/19c5f9f97cb7b58b88256b9700828397.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1