Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Transparent MDIform Pin
Mark Salsbery3-Feb-08 12:10
Mark Salsbery3-Feb-08 12:10 
General2 Rows in CListCtrl Header Pin
AnTri3-Feb-08 9:01
AnTri3-Feb-08 9:01 
Generalbinary to GdiPlus::Image Pin
followait3-Feb-08 7:02
followait3-Feb-08 7:02 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery3-Feb-08 7:41
Mark Salsbery3-Feb-08 7:41 
GeneralRe: binary to GdiPlus::Image [modified] Pin
followait3-Feb-08 21:16
followait3-Feb-08 21:16 
GeneralI can't modify the former msg, the 'edit' button is out of the view Pin
followait3-Feb-08 23:03
followait3-Feb-08 23:03 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery4-Feb-08 5:33
Mark Salsbery4-Feb-08 5:33 
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:05
bob169723-Feb-08 9:05 
I would agree with Mr. Salsbery.

IStream* pStream=NULL;

then use
CreateStreamOnHGlobal(NULL,TRUE,&pStream);

then use the streams "Write" method to get the data from the buffer in,
pStream->Write(pBuf,nSize,NULL);

then use Image::FromStream or the constructor as you had been doing.
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:13
bob169723-Feb-08 9:13 
GeneralDLL Function call Pin
ginjikun3-Feb-08 1:09
ginjikun3-Feb-08 1:09 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 1:30
Gary R. Wheeler3-Feb-08 1:30 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 1:38
ginjikun3-Feb-08 1:38 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 1:46
Gary R. Wheeler3-Feb-08 1:46 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:03
ginjikun3-Feb-08 2:03 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 2:17
Gary R. Wheeler3-Feb-08 2:17 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:33
ginjikun3-Feb-08 2:33 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 2:41
Gary R. Wheeler3-Feb-08 2:41 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 3:13
ginjikun3-Feb-08 3:13 
GeneralRe: DLL Function call Pin
Gary R. Wheeler4-Feb-08 23:55
Gary R. Wheeler4-Feb-08 23:55 
GeneralRe: DLL Function call Pin
CPallini3-Feb-08 2:12
mveCPallini3-Feb-08 2:12 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:36
ginjikun3-Feb-08 2:36 
GeneralRe: DLL Function call Pin
CPallini3-Feb-08 2:44
mveCPallini3-Feb-08 2:44 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 3:10
ginjikun3-Feb-08 3:10 
GeneralRe: DLL Function call Pin
Iain Clarke, Warrior Programmer4-Feb-08 1:33
Iain Clarke, Warrior Programmer4-Feb-08 1:33 
Generallink with C runtime library Pin
George_George2-Feb-08 21:48
George_George2-Feb-08 21:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.