开发者

Inserting a bitmap image into Rich Edit Control

开发者 https://www.devze.com 2023-03-23 16:50 出处:网络
I am currently working on a project in which I need to use a pin pad device for an electronic signature capture.When the electronic signature is captured, it is saved as a .bmp file.When I take the sa

I am currently working on a project in which I need to use a pin pad device for an electronic signature capture. When the electronic signature is captured, it is saved as a .bmp file. When I take the same .bmp file and insert it into Rich Ed开发者_如何学运维it Control, it simply shows a filled in square box, instead of what the signature looks like. When I open the .bmp in Microsoft Picture and Fax viewer, the .bmp displays properly... Meaning that I can visibly see the electronic signature that was captured from the pin pad device.

The operating system is "Windows Embedded", which is basically a stripped down version of Windows XP that is typically used by retailers.

Any opinion on how I can fix this would be great. Note* It must be inserted via Rich Edit Control. Use of any other program to insert the .bmp is not an option.


See this Codeguru article: Insert any HBITMAP (Bitmap) in your RichEdit Control

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号