Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWM_SYSCOMMAND & SC_MOUSEMENU Pin
Anonymous8-Apr-04 13:38
Anonymous8-Apr-04 13:38 
QuestionHow to override CEdit::Paste Pin
Hashim Saleem8-Apr-04 13:35
Hashim Saleem8-Apr-04 13:35 
AnswerRe: How to override CEdit::Paste Pin
gUrM33T8-Apr-04 14:53
gUrM33T8-Apr-04 14:53 
GeneralRe: How to override CEdit::Paste Pin
Hashim Saleem8-Apr-04 14:59
Hashim Saleem8-Apr-04 14:59 
GeneralRe: How to override CEdit::Paste Pin
gUrM33T8-Apr-04 15:47
gUrM33T8-Apr-04 15:47 
GeneralRectangle call fails Pin
Blake Miller8-Apr-04 11:56
Blake Miller8-Apr-04 11:56 
GeneralRetrieving MySQL blob to GDI+ object without file access Pin
lbe8-Apr-04 11:29
lbe8-Apr-04 11:29 
GeneralRe: Retrieving MySQL blob to GDI+ object without file access Pin
PJ Arends8-Apr-04 15:39
professionalPJ Arends8-Apr-04 15:39 
If I remember correctly this can be accomplished using streams. Allocate global memory of the correct size using GlobalAlloc(), read your blob data into that memory, use CreateStreamOnHGlobal() to make an IStream object containing your data, then use Bitmap::FromStream() to read the data into a bitmap object.

and no, I do not have code that does this Poke tongue | ;-P







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Retrieving MySQL blob to GDI+ object without file access Pin
lbe20-Apr-04 10:06
lbe20-Apr-04 10:06 
Generaldetect enter key in single line edit box Pin
Anonymous8-Apr-04 11:25
Anonymous8-Apr-04 11:25 
GeneralRe: detect enter key in single line edit box Pin
Anonymous8-Apr-04 13:23
Anonymous8-Apr-04 13:23 
GeneralRe: detect enter key in single line edit box Pin
gUrM33T8-Apr-04 14:59
gUrM33T8-Apr-04 14:59 
GeneralRe: detect enter key in single line edit box Pin
Timothy Grabrian8-Apr-04 16:02
professionalTimothy Grabrian8-Apr-04 16:02 
GeneralRe: detect enter key in single line edit box Pin
Renjith Ramachandran8-Apr-04 22:43
Renjith Ramachandran8-Apr-04 22:43 
GeneralNeed help with SDI app Pin
Daniel13248-Apr-04 10:35
Daniel13248-Apr-04 10:35 
GeneralRe: Need help with SDI app Pin
Michael P Butler8-Apr-04 10:47
Michael P Butler8-Apr-04 10:47 
GeneralRe: Need help with SDI app Pin
Daniel13248-Apr-04 10:48
Daniel13248-Apr-04 10:48 
GeneralRe: Need help with SDI app Pin
Renjith Ramachandran8-Apr-04 22:45
Renjith Ramachandran8-Apr-04 22:45 
GeneralStrategy question Pin
Cloaca8-Apr-04 9:55
Cloaca8-Apr-04 9:55 
GeneralRe: Strategy question Pin
Maxwell Chen8-Apr-04 18:57
Maxwell Chen8-Apr-04 18:57 
GeneralRe: Strategy question Pin
Cloaca9-Apr-04 8:54
Cloaca9-Apr-04 8:54 
GeneralRe: Strategy question Pin
Maxwell Chen11-Apr-04 16:16
Maxwell Chen11-Apr-04 16:16 
GeneralRe: Strategy question Pin
Cloaca12-Apr-04 5:13
Cloaca12-Apr-04 5:13 
QuestionMemory access from another app? Pin
Andrew Stampor8-Apr-04 9:49
Andrew Stampor8-Apr-04 9:49 
AnswerRe: Memory access from another app? Pin
Dominik Reichl8-Apr-04 10:07
Dominik Reichl8-Apr-04 10:07 

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.