Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Loading bitmap from stream (CMemFile)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Loading bitmap from stream (CMemFile)

 Post Reply Post Reply
Author
Message
cmarsura View Drop Down
Newbie
Newbie


Joined: 14 September 2009
Location: Italy
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmarsura Quote  Post ReplyReply Direct Link To This Post Topic: Loading bitmap from stream (CMemFile)
    Posted: 30 September 2009 at 3:35am
Hi.
I have the necessity of load bitmaps from a memory stream like CMemFile.
CXTPImageManagerIcon have the LoadBitmapFromFile() but does not offer a similar function to load a bitmap from a memory block. Looking at CXTPImageManagerIcon::LoadAlphaBitmap() I found code to adapt to load an alpha bitmap from memory, but I have no idea of how to load a non alpha bitmap from memory block.

There are someone that can give me a hint?
Carlo.
Product: Xtreme ToolkitPro v 11.1 / Xtreme SuitePro v 10.4.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Studio 2008, Visual Studio 6, Visual Basic 6.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.