LEADTOOLS Support
Imaging
Imaging SDK Questions
Is it possible to attach LeadTool's BITMAPHANDLE to a MFC CBitMap object?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, September 20, 2007 4:10:10 AM(UTC)
Groups: Registered
Posts: 3
Hello,
Is it possible to attach LeadTool's BITMAPHANDLE to a MFC CBitMap object?
If possible, how do it?
Thanks!
Urs
#2
Posted
:
Thursday, September 20, 2007 12:55:14 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Hello,
You can use the LBitmapBase::ConvertToDDB() [if you're using Class lib] or L_ConvertToDDB() [if you're using API] to get a HBITMAP handle. Then use the CBitmap::FromHandle() in MFC to get it into CBitmap format.
#3
Posted
:
Friday, September 21, 2007 3:37:00 AM(UTC)
Groups: Registered
Posts: 3
Hello Jigar,
Thanks a lot!
Urs
LEADTOOLS Support
Imaging
Imaging SDK Questions
Is it possible to attach LeadTool's BITMAPHANDLE to a MFC CBitMap object?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.